Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



On Sun, Dec 28, 2008 at 12:57:54PM -0800, Paul Goyette wrote:
> On Mon, 29 Dec 2008, Daniel Carosone wrote:
> 
> >On Sun, Dec 28, 2008 at 02:28:02PM +0900, Izumi Tsutsui wrote:
> >>It might be better to make bootstrap modules unloadable after mountroot
> >>(or just disable autounloading modules until mountroot)?
> >
> >Or just use a sysctl or similar to enable unloading, and set that at
> >the appropriate point from an rc.d script.
> 
> Maybe the unload thread could just wait on the lbolt that the init 
> process waits on?  Mountroot has been finished by that time.

Christos' change is better: it's not worthwhile autounloading modules pushed
by the boot loader because the kernel cannot reclaim the memory.

Thanks,
Andrew


Home | Main Index | Thread Index | Old Index