Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2000 07:46:57 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Wes Peters <wes@softweyr.com>
Cc:        Warner Losh <imp@village.org>, hackers@FreeBSD.ORG
Subject:   Re: splFoo() question 
Message-ID:  <23423.953621217@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 20 Mar 2000 16:25:07 MST." <38D6B353.FA58BB15@softweyr.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <38D6B353.FA58BB15@softweyr.com>, Wes Peters writes:
>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?

spl*() are semaphores.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23423.953621217>