From owner-cvs-all Wed Nov 29 16:55:28 2000 Delivered-To: cvs-all@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 8E14337B401; Wed, 29 Nov 2000 16:55:23 -0800 (PST) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id eAU0tFC40413; Wed, 29 Nov 2000 16:55:15 -0800 (PST) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.11.1/8.11.0) id eAU0q3r77674; Wed, 29 Nov 2000 16:52:03 -0800 (PST) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200011300051.eAU0pGY93323@freefall.freebsd.org> Date: Wed, 29 Nov 2000 16:52:03 -0800 (PST) Organization: BSD, Inc. From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/kern kern_mutex.c kern_synch.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 30-Nov-00 John Baldwin wrote: > jhb 2000/11/29 16:51:16 PST > > Modified files: > sys/kern kern_mutex.c kern_synch.c > Log: > Fix up priority propagation: > - Use a better test for determining when a process is running. > - Convert some checks to assertions. > - Remove unnecessary tests. > - Save the priority before acquiring a mutex rather than in msleep(9). This code is not entirely stable, though I'm not sure if this is due to other stability problems in recent current or due to this, so it is not turned on by default. To turn it on, simply remove the #if 0 around the call to propagate_priority() in mtx_enter_hard(). -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message