cvs commit: src/sys/kern kern_exit.c kern_fork.c kern_proc.c src/sys/sys proc.h
Nicolas Thery
nth at crater.dragonflybsd.org
Tue Apr 1 11:07:05 PDT 2008
nth 2008/04/01 11:06:34 PDT
DragonFly src repository
Modified files:
sys/kern kern_exit.c kern_fork.c kern_proc.c
sys/sys proc.h
Log:
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@
Revision Changes Path
1.89 +1 -1 src/sys/kern/kern_exit.c
1.72 +1 -1 src/sys/kern/kern_fork.c
1.42 +1 -3 src/sys/kern/kern_proc.c
1.116 +1 -0 src/sys/sys/proc.h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exit.c.diff?r1=1.88&r2=1.89&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_fork.c.diff?r1=1.71&r2=1.72&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_proc.c.diff?r1=1.41&r2=1.42&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/proc.h.diff?r1=1.115&r2=1.116&f=u
More information about the Commits
mailing list