From owner-cvs-all Fri May 4 9:13:32 2001 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 855F537B423; Fri, 4 May 2001 09:13:29 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f44GDTp39545; Fri, 4 May 2001 09:13:29 -0700 (PDT) (envelope-from jhb) Message-Id: <200105041613.f44GDTp39545@freefall.freebsd.org> From: John Baldwin Date: Fri, 4 May 2001 09:13:29 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_exit.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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