splxxx replacements?

Gary Thorpe gthorpe at myrealbox.com
Tue Nov 14 18:44:39 PST 2006


Simon 'corecode' Schubert wrote:
Yury Tarasievich wrote:

What are the functional equivalents of spl... functions?


crit_enter() and crit_exit().  They only defer interrupt execution on 
the same cpu, though.  if you need system-wide serialization to a 
resource, you should consider using a spinlock or a serializer.

cheers
 simon
That's basically the equivalent of splhigh() and splx(): isn't that 
worse than blocking individual levels?





More information about the Kernel mailing list