Date: Wed, 10 Mar 1999 19:59:28 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: Thierry.Besancon@lps.ens.fr Cc: luoqi@watermarkgroup.com, Thierry.Besancon@tournesol.lps.ens.fr, dwhite@gdi.uoregon.edu, freebsd-smp@FreeBSD.ORG, Pierre.David@prism.uvsq.fr, alc@cs.rice.edu, dillon@apollo.backplane.com, jt@ratp.fr Subject: Re: lockmgr() panic Message-ID: <199903101959.MAA08386@usr04.primenet.com> In-Reply-To: <wnn3e3dqu7v.fsf@excalibur.lps.ens.fr> from "Thierry.Besancon@lps.ens.fr" at Mar 10, 99 03:45:24 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> Life sucks today. > > Reading src/sys/kern/kern_lock.c, I saw this piece of code that might > be relevant with this problem : > > #if !defined(MAX_PERF) > if ((extflags & LK_CANRECURSE) == 0) > panic("lockmgr: locking against myself"); > #endif > > Before defining the flag, does anybody know what MAX_PERF implies > other than not panicing the kernel ? What does it means ? "Maximum Performance" -- Don't do tests that will never fail because we don't have any bugs. The result of defining MAX_PERF in this case will be a cascade failure later, at some point in the future, since there is, in fact, a bug. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903101959.MAA08386>