Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2000 21:00:08 +0100
From:      Guido van Rooij <guido@gvr.org>
To:        Warner Losh <imp@village.org>
Cc:        hackers@freebsd.org
Subject:   Re: splFoo() question
Message-ID:  <20000320210008.A59405@gvr.gvr.org>
In-Reply-To: <200003182031.NAA97975@harmony.village.org>; from Warner Losh on Sat, Mar 18, 2000 at 01:31:28PM -0700
References:  <200003182031.NAA97975@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 18, 2000 at 01:31:28PM -0700, Warner Losh wrote:
> 
> 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.
> 

perhaps we need some mutex mechanism? 

-Guido


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?20000320210008.A59405>