Date: Mon, 11 Dec 2000 17:20:48 -0800 From: Alfred Perlstein <bright@wintelcom.net> To: Jake Burkholder <jake@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files src/sys/sys mutex.h src/sys/kern kern_mutex.c src/sys/i386/i386 trap.c src/sys/ia64/ia64 trap.c src/sys/alpha/alpha trap.c Message-ID: <20001211172048.R16205@fw.wintelcom.net> In-Reply-To: <200012120114.eBC1EXs04634@freefall.freebsd.org>; from jake@FreeBSD.org on Mon, Dec 11, 2000 at 05:14:33PM -0800 References: <200012120114.eBC1EXs04634@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Jake Burkholder <jake@FreeBSD.org> [001211 17:14] wrote: > jake 2000/12/11 17:14:33 PST > > Modified files: > sys/conf files > sys/sys mutex.h > sys/kern kern_mutex.c > sys/i386/i386 trap.c > sys/ia64/ia64 trap.c > sys/alpha/alpha trap.c > Log: > - Add code to detect if a system call returns with locks other than Giant > held and panic if so (conditional on witness). Why not conditional on INVARIANTS? Couldn't this be easily tracked via a counter in the proc struct? I'm trying to find a middle ground where the debug code doesn't make development unbearable because of the slowdown. MUTEX_DEBUG and WITNESS make compiling kernels (actually IO) too slow to be tolerated. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001211172048.R16205>