Date: 21 Jan 2001 22:43:34 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: John Baldwin <jhb@FreeBSD.org> Cc: smp@FreeBSD.org Subject: Re: debug.witness_skipspin Message-ID: <xzpsnmc37jt.fsf@flood.ping.uio.no> In-Reply-To: John Baldwin's message of "Sun, 21 Jan 2001 13:29:41 -0800 (PST)" References: <XFMail.010121132941.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin <jhb@FreeBSD.org> writes: > On 21-Jan-01 Dag-Erling Smorgrav wrote: > > Hey, I seem to have a thing with stupid questions today. Making it > > writeable doesn't make a difference because all the spin locks are > > already initialized (and enrolled or not) before you even get a chance > > to toggle it. Nothing beats reading the source... > I think skipspin causes it to not do extra checking during enter/exit though. Umm, I don't think so - the only code it affects is enroll(), which is only called from witness_init(), which is only called from mtx_init(). DES -- Dag-Erling Smorgrav - des@ofug.org 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?xzpsnmc37jt.fsf>