From owner-cvs-all Wed Nov 15 17: 7:23 2000 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 2FF1837B479; Wed, 15 Nov 2000 17:07:20 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA19109; Wed, 15 Nov 2000 17:07:20 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-Id: <200011160107.RAA19109@freefall.freebsd.org> From: John Baldwin Date: Wed, 15 Nov 2000 17:07:20 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_synch.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2000/11/15 17:07:20 PST Modified files: sys/kern kern_synch.c Log: CURSIG() calls functions that acquire sleep mutexes, so it is not a good idea to be holding the sched_lock while we are calling it. As such, release sched_lock before calling CURSIG() in msleep() and mawait() and reacquire it after CURSIG() returns. Submitted by: witness Revision Changes Path 1.106 +13 -4 src/sys/kern/kern_synch.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message