Date: Tue, 16 Apr 2002 10:03:05 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_proc.c subr_witness.c src/sys/sys proc.h Message-ID: <200204161703.g3GH35e83147@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2002/04/16 10:03:05 PDT
Modified files:
sys/kern kern_proc.c subr_witness.c
sys/sys proc.h
Log:
- 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.
Revision Changes Path
1.129 +10 -14 src/sys/kern/kern_proc.c
1.109 +0 -1 src/sys/kern/subr_witness.c
1.216 +7 -15 src/sys/sys/proc.h
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?200204161703.g3GH35e83147>
