spl protection of selrecord / selwakeup ?

Dave Dolson ddolson at sandvine.com
Wed Aug 20 14:21:17 PDT 2003


In FreeBSD 4.7, 

When writing a device driver, which spl 
should be used when calling selrecord or 
selwakeup() ?

Some of the functions called by those functions
(e.g., pfind ) have no protection of their own.

Some drivers use spltty() or splimp().

Can someone explain why splhigh() is not required?

Thanks,
David Dolson (ddolson at sandvine.com, www.sandvine.com)


More information about the freebsd-hackers mailing list