tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: allocating memory during kernel startup
Martin Husemann <martin%duskware.de@localhost> 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, ...
OK, that is something I am not familiar with. Any reason why one could
not have rasops_sysinit() after uvm_init()? I see consinit() as a bare
minimum to printf() very early errors (which should not happen, normally).
--
Mindaugas
Home |
Main Index |
Thread Index |
Old Index