On Tuesday, 21 March 2000 at  7:46:57 +0100, Poul-Henning Kamp wrote:
> In message <[EMAIL PROTECTED]>, Wes Peters writes:
>> Poul-Henning Kamp wrote:
>>>
>>> In message <[EMAIL PROTECTED]>, 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.

spl*() are interrupt lockouts.  The difference is very evident in an
SMP environment.

Greg
--
Finger [EMAIL PROTECTED] for PGP public key
See complete headers for address and phone numbers


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to