Date: Sat, 13 Mar 2004 14:31:39 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_exec.c kern_exit.c kern_fork.c kern_thread.c subr_trap.c syscalls.master Message-ID: <200403132231.i2DMVdZH067270@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2004/03/13 14:31:39 PST FreeBSD src repository Modified files: sys/kern kern_exec.c kern_exit.c kern_fork.c kern_thread.c subr_trap.c syscalls.master Log: Push Giant down a little further: - no longer serialize on Giant for thread_single*() and family in fork, exit and exec - thread_wait() is mpsafe, assert no Giant - reduce scope of Giant in exit to not cover thread_wait and just do vm_waitproc(). - assert that thread_single() family are not called with Giant - remove the DROP/PICKUP_GIANT macros from thread_single() family - assert that thread_suspend_check() s not called with Giant - remove manual drop_giant hack in thread_suspend_check since we know it isn't held. - remove the DROP/PICKUP_GIANT macros from thread_suspend_check() family - mark kse_create() mpsafe Revision Changes Path 1.239 +0 -2 src/sys/kern/kern_exec.c 1.225 +2 -5 src/sys/kern/kern_exit.c 1.222 +0 -3 src/sys/kern/kern_fork.c 1.173 +5 -8 src/sys/kern/kern_thread.c 1.265 +1 -2 src/sys/kern/subr_trap.c 1.167 +1 -1 src/sys/kern/syscalls.master
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403132231.i2DMVdZH067270>