2008/4/1, Matthew Dillon <dillon@apollo.backplane.com>:
I ran make buildworld twice with procs in objcache and twice with
procs allocated thru kmalloc() on a UP system. The runtime is
identical in both cases and the ram footprint presumably smaller with
kmalloc(). (Admittedly, 2 runs are not much for stat purpose but
buildworld takes time.)
I'm now running buildworld with procs in zones.
I gave a quick look at struct proc and I admit that there isn't much
for pre-initialization as an instance inherits lots of stuff from its
parent. I'll look at it again today more thoroughly.
So, I'm inclined toward using kmalloc() right now. More on this
tonight. It's time to go to my real job :-)