From owner-freebsd-smp Sun Jan 21 13:43:54 2001 Delivered-To: freebsd-smp@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 18F4237B404; Sun, 21 Jan 2001 13:43:37 -0800 (PST) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id WAA67453; Sun, 21 Jan 2001 22:43:35 +0100 (CET) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: John Baldwin Cc: smp@FreeBSD.org Subject: Re: debug.witness_skipspin References: From: Dag-Erling Smorgrav Date: 21 Jan 2001 22:43:34 +0100 In-Reply-To: John Baldwin's message of "Sun, 21 Jan 2001 13:29:41 -0800 (PST)" Message-ID: Lines: 14 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Baldwin 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