Date: Sun, 19 Sep 2004 18:34:17 +0000 (UTC) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_proc.c kern_switch.c src/sys/sys sched.h src/sys/vm vm_glue.c Message-ID: <200409191834.i8JIYHXU089517@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2004-09-19 18:34:17 UTC
FreeBSD src repository
Modified files:
sys/kern kern_proc.c kern_switch.c
sys/sys sched.h
sys/vm vm_glue.c
Log:
The zone from which proc structures are allocated is marked
UMA_ZONE_NOFREE to guarantee type stability, so proc_fini() should
never be called. Move an assertion from proc_fini() to proc_dtor()
and garbage-collect the rest of the unreachable code. I have retained
vm_proc_dispose(), since I consider its disuse a bug.
Revision Changes Path
1.217 +5 -16 src/sys/kern/kern_proc.c
1.95 +0 -16 src/sys/kern/kern_switch.c
1.22 +1 -1 src/sys/sys/sched.h
1.204 +4 -1 src/sys/vm/vm_glue.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409191834.i8JIYHXU089517>
