summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mutex.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-05-04 16:13:28 +0000
committerjhb <jhb@FreeBSD.org>2001-05-04 16:13:28 +0000
commitd803e7dbf81e212591b59daaf7f91211e786d329 (patch)
treed6388af504c1dcebabba0c583d9b5c8953870c9d /sys/kern/kern_mutex.c
parent547825394dacc3aeadbae341ebb67b8970c6b910 (diff)
downloadFreeBSD-src-d803e7dbf81e212591b59daaf7f91211e786d329.zip
FreeBSD-src-d803e7dbf81e212591b59daaf7f91211e786d329.tar.gz
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.
Diffstat (limited to 'sys/kern/kern_mutex.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud