Date: Fri, 25 Oct 2002 09:50:53 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: Poul-Henning Kamp <phk@FreeBSD.org> Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: RE: cvs commit: src/sys/kern kern_mutex.c Message-ID: <XFMail.20021025095053.jhb@FreeBSD.org> In-Reply-To: <200210250840.g9P8eKWu073813@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 25-Oct-2002 Poul-Henning Kamp wrote: > phk 2002/10/25 01:40:20 PDT > > Modified files: > sys/kern kern_mutex.c > Log: > Disable the kernacc() check in mtx_validate() until such time that kernacc > does not require Giant. > > This means that we may miss panics on a class of mutex programming bugs, > but only if running with a Chernobyl setting of debug-flags. > > Spotted by: Pete Carah <pete@ns.altadena.net> People probably should not be using MUTEX_DEBUG unless they are actually working on the mutex implementation anyways. We might even should just shoot that code in the head and put it out of its misery. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20021025095053.jhb>