From owner-cvs-all Tue Apr 16 10: 3: 8 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 88CAA37B404; Tue, 16 Apr 2002 10:03:05 -0700 (PDT) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3GH35e83147; Tue, 16 Apr 2002 10:03:05 -0700 (PDT) (envelope-from jhb) Message-Id: <200204161703.g3GH35e83147@freefall.freebsd.org> From: John Baldwin Date: Tue, 16 Apr 2002 10:03:05 -0700 (PDT) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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