Date: Wed, 20 Aug 2003 17:21:14 -0400 From: Dave Dolson <ddolson@sandvine.com> To: "'hackers@freebsd.org'" <hackers@freebsd.org> Subject: spl protection of selrecord / selwakeup ? Message-ID: <FE045D4D9F7AED4CBFF1B3B813C8533701919217@mail.sandvine.com>
next in thread | raw e-mail | index | archive | help
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@sandvine.com, www.sandvine.com)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C8533701919217>