On Wed, Jan 20, 2010 at 11:14:38AM +0900, Masao Uebayashi wrote: > > Too bad we don't have a geenric SPLASSERT() for this kind of stuff ... > > It's surprising to me we've not had SPLASSERT() now. I think SPLASSERT() is > possible if we don't make it generic; make it a nop on platforms which can't > compare IPL.
"IPLASSERT(IPL_BIO)" doesn't require comparing IPL, it just requires checking that splbio() has been asserted. (Which platforms don't have a sequence of integer spl levels?) -- David A. Holland dholl...@netbsd.org