tech-kern archive

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

kern_physio.c, bufcache_lock and spl



Hi
in physio(), there is a comment:
/* [raise the processor priority level to splbio;] */
followed by
mutex_enter(&bufcache_lock);

but bufcache_lock is at IPL_NONE these days. Is the comment wrong, or
should we some something more than mutex_enter() here ?

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           
Manuel.Bouyer%lip6.fr@localhost
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index