Date: Sun, 21 Jan 2001 13:29:41 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Dag-Erling Smorgrav <des@ofug.org> Cc: smp@FreeBSD.org Subject: Re: debug.witness_skipspin Message-ID: <XFMail.010121132941.jhb@FreeBSD.org> In-Reply-To: <xzp4rys69a9.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21-Jan-01 Dag-Erling Smorgrav wrote: > Dag-Erling Smorgrav <des@ofug.org> writes: >> Is there a particular reason why this sysctl is read-only? Just for >> laughs, I built a kernel with a writeable debug.witness_skipspin, and >> experienced no ill effects from switching back and forth. > > 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. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.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?XFMail.010121132941.jhb>