tech-kern archive

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

Re: What's an "MPSAFE" driver need to do?



On Thu, Feb 28, 2013 at 12:40:27AM -0500, Mouse wrote:
 > I'm looking at writing driver code for 5.2.  A few manpages (notably
 > selinit(9) and other aliases for the same page) speak of "non-MPSAFE
 > drivers", but I have been unable to find what a driver has to do in
 > order to be MPSAFE - nor for that matter how it is that drivers are or
 > aren't marked as MPSAFE, though the latter I may be able to figure out
 > (mostly meaning, if I can find and identify the relevant kernel code).

A driver is MPSAFE if it does not require kernel_lock to work
correctly.

 > Did I miss something, or is this just not documented?

Dunno.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index