Date: Fri, 4 May 2001 09:13:29 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_exit.c Message-ID: <200105041613.f44GDTp39545@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/05/04 09:13:29 PDT
Modified files:
sys/kern kern_exit.c
Log:
Don't hold the process mutex across calls to FREE() since the vm system
uses lockmgr locks and this leads to a lock order reversal. At this point
in wait1() the process is not on any process lists or in the process tree,
so no other process should be able to find it or have a reference to it
anyways, so the locking is not needed.
Revision Changes Path
1.126 +1 -2 src/sys/kern/kern_exit.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105041613.f44GDTp39545>
