tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: biodone() and splbio ?



On Tue, Jan 19, 2010 at 05:10:29PM -0500, Thor Lancelot Simon wrote:
> On Tue, Jan 19, 2010 at 10:52:49PM +0100, Manuel Bouyer wrote:
> > 
> > The buffer queue could be corrupted here, because of this.
> 
> I think this stuff should all be mutex-protected.  For what other
> reason do we need splbio/splvm in here any more?

Because it has not yet been made MP-safe ?
Sure, make these MP-safe but as a quick fix for netbsd-5, adding the
spl call is probably better.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index