diff options
author | jhb <jhb@FreeBSD.org> | 2002-04-16 17:03:05 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-04-16 17:03:05 +0000 |
commit | 7202da4491f33663719dc05a4db31422f6937123 (patch) | |
tree | c2f74333eb4c882addd55dbf51cfb2fa118bf688 /sys/kern/subr_witness.c | |
parent | 79d2daeb7f294eac6a6bdb15b21d5fc4213e23e2 (diff) | |
download | FreeBSD-src-7202da4491f33663719dc05a4db31422f6937123.zip FreeBSD-src-7202da4491f33663719dc05a4db31422f6937123.tar.gz |
- Merge the pgrpsess_lock and proctree_lock sx locks into one proctree_lock
sx lock. Trying to get the lock order between these locks was getting
too complicated as the locking in wait1() was being fixed.
- leavepgrp() now requires an exclusive lock of proctree_lock to be held
when it is called.
- fixjobc() no longer gets a shared lock of proctree_lock now that it
requires an xlock be held by the caller.
- Locking notes in sys/proc.h are adjusted to note that everything that
used to be protected by the pgrpsess_lock is now protected by the
proctree_lock.
Diffstat (limited to 'sys/kern/subr_witness.c')
-rw-r--r-- | sys/kern/subr_witness.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index 75d8d55..e503515 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -187,7 +187,6 @@ static struct lock_list_entry w_locklistdata[LOCK_CHILDCOUNT]; static struct witness_order_list_entry order_lists[] = { { "Giant", &lock_class_mtx_sleep }, - { "pgrpsess", &lock_class_sx }, { "proctree", &lock_class_sx }, { "allproc", &lock_class_sx }, { "process group", &lock_class_mtx_sleep }, |