[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: (almost working) patch to make opencrypto use mutex/condvar
On Fri, Feb 01, 2008 at 04:45:13PM -0500, Thor Lancelot Simon wrote:
> Attached, and at http://www.panix.com/~tls/ocf-mtx2.diff
Note that if you don't want kernel_lock taken for the device access you can
set d_flags in crypto_cdevsw to 'D_OTHER | D_MPSAFE', although you need at
least 4.99.48 for that to work. You can also do the same for the kernel
thread and soft interrupt (SOFTINT_MPSAFE, KTHREAD_MPSAFE).
It also looks like since 4.99.48 the fileops are already called without
kernel_lock - oops!
Main Index |
Thread Index |