From owner-freebsd-hackers Mon Mar 20 15:24:22 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id A64E337BBDC for ; Mon, 20 Mar 2000 15:24:14 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustidentd@obie.softweyr.com [204.68.178.33]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id QAA04450; Mon, 20 Mar 2000 16:23:56 -0700 (MST) (envelope-from wes@softweyr.com) Message-ID: <38D6B353.FA58BB15@softweyr.com> Date: Mon, 20 Mar 2000 16:25:07 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Poul-Henning Kamp Cc: Warner Losh , hackers@FreeBSD.ORG Subject: Re: splFoo() question References: <19535.953571683@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > > In message <200003182031.NAA97975@harmony.village.org>, Warner Losh writes: > > >I'd like to be able to do some simple spl locking in a driver that I'm > >writing. While I could go the splhigh() route, I'm concerned that > >spending lots of time at splhigh could cause problems, and some of my > >critical sections look to be very expensive. They only need > >protection against the card itself, not against the entire system. It > >just seems to be an overly large hammer. > > I miss this too. Semaphores? -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message