tech-kern archive

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

Re: allocating memory during kernel startup



On Fri, May 07, 2010 at 08:39:51PM +0100, Mindaugas Rasiukevicius wrote:
> Well, kmem(9) is initialised very early, just after pool(9), in uvm_init(),
> where I moved it couple years ago.  Yes, 'cold' is unset very late.  Since
> allocation gets postponed anyway, is that a problem?  You did not describe
> your use case. :)

consinit(), run just before uvm_init().

It may need to initialize raspos, which will allocate memory for fonts,
screens, ...

Martin


Home | Main Index | Thread Index | Old Index