Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 1998 00:01:18 -0500 (EST)
From:      "John S. Dyson" <dyson@FreeBSD.ORG>
To:        grog@lemis.com (Greg Lehey)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: SMP resource locking
Message-ID:  <199805220501.AAA02725@dyson.iquest.net>
In-Reply-To: <19980522114305.Z27201@freebie.lemis.com> from Greg Lehey at "May 22, 98 11:43:05 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey said:
> I haven't paid much attention to SMP problems yet, but I need to now.
> Can somebody point me to functions to ensure single-thread passing of
> critical sections?  In a UP environment I'd use splhigh (), but that's
> obviously not enough for SMP.
> 
For now, splhigh in a normal driver context will work.  That is
of course broken, but it will work fine.  In the future, it won't.

-- 
John                  | Never try to teach a pig to sing,
dyson@freebsd.org     | it just makes you look stupid,
jdyson@nc.com         | and it irritates the pig.

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?199805220501.AAA02725>