Migrate allocation of proc structures from zones to kmalloc(). This gives us
authorNicolas Thery <nth@dragonflybsd.org>
Tue, 1 Apr 2008 18:06:34 +0000 (18:06 +0000)
committerNicolas Thery <nth@dragonflybsd.org>
Tue, 1 Apr 2008 18:06:34 +0000 (18:06 +0000)
commitfb2a331e81488b92fa9632684279c9508cd58655
tree9504a3d7019dfe746c3e274ce5a53a14c1a8a082
parentcf64ca3ca053e85cd1a077a2e3bed2b6101ff092
Migrate allocation of proc structures from zones to kmalloc().  This gives us
MP-safety and does not seem to decrease performance (using make buildworld as
benchmark).  Using an objcache seems unnecessary because there isn't much
pre-initialization code we could move to a constructor and there is no
performance gain.

Debatted-With: dillon@, hsu@, corecode@
sys/kern/kern_exit.c
sys/kern/kern_fork.c
sys/kern/kern_proc.c
sys/sys/proc.h