Martin Husemann <mar...@duskware.de> 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