tech-kern archive

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

D_MPSAFE drivers



Hi!

Poking around I noticed KERNEL_LOCK is occasionally
grabbed by cdev_* for noticeable periods of time.

Looking at the code, it grabs DEV_LOCK which is effectively
KERNEL_LOCK if the driver is not declared MPSAFE.

It appears that many "big name" drivers (wd, nvme) do
not have d_flags D_MPSAFE, unless I am reading things
wrong.


Home | Main Index | Thread Index | Old Index