From owner-cvs-all Tue Dec 12 8:39:36 2000 From owner-cvs-all@FreeBSD.ORG Tue Dec 12 08:39:32 2000 Return-Path: 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 A6FB337B400; Tue, 12 Dec 2000 08:39:32 -0800 (PST) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by pike.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id eBCGdSE87559; Tue, 12 Dec 2000 08:39:28 -0800 (PST) (envelope-from jhb@FreeBSD.org) 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: <200012120349.eBC3nx527131@freefall.freebsd.org> Date: Tue, 12 Dec 2000 08:39:33 -0800 (PST) From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/i386/include mutex.h Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 12-Dec-00 John Baldwin wrote: > jhb 2000/12/11 19:49:59 PST > > Modified files: > sys/i386/include mutex.h > Log: > Fix the assembly mutex macros to call the appropriate witness functions if > the witness code is compiled in. Without this, the witness code doesn't > notice that sched_lock is released by fork_trampoline() and thus gets all > confused about spin lock order later on. Similar work needs to be done on the alpha and ia64 as well. Right now fork_trampoline() is the only case this kicks in, but the light weight context switches will rely on this even more. -- 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