Date: Mon, 27 Mar 2000 12:08:33 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Daniel Eischen <eischen@vigrid.com> Cc: Nate Williams <nate@yogotech.com>, nms@otdel-1.org, freebsd-current@FreeBSD.ORG Subject: Re: Is there spinlocks/semaphores available for drivers? Message-ID: <200003272008.MAA42799@apollo.backplane.com> References: <Pine.SUN.3.91.1000327142313.16202A@pcnet1.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
: :There's a paper that describes how Solaris transitioned from spl()s :to mutexes. ISTR they created one mutex for each splxxx. I'll have :to find this and re-read it. : :-- :Dan Eischen I think we're using a slightly different mechanism... our spl*()'s are actually interrupt bit masks. That is, any single spl*() call may mask several interrupt sources. Turning a mask with five or six bits set in it into a set of mutexes is a very expensive proposition. -Matt Matthew Dillon <dillon@backplane.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003272008.MAA42799>