Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2000 16:25:07 -0700
From:      Wes Peters <wes@softweyr.com>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Warner Losh <imp@village.org>, hackers@FreeBSD.ORG
Subject:   Re: splFoo() question
Message-ID:  <38D6B353.FA58BB15@softweyr.com>
References:  <19535.953571683@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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