-
-
usr/src/lib/libfakekernel/common/mutex.c (Diff revision 1) FWIW, you may want to investigate changing this all to using the actual kernel analogue that exists in userland, being mutex_enter() and mutex_exit(). I'm not sure if using the lwp locks are paritcularly special in this case.
You probably also want to actually check the unlock path in kmutex_exit() now.
11002 recursive mutex detection in libfakekernel
Review Request #1965 — Created June 4, 2019 and submitted
Information | |
---|---|
gwr | |
illumos-gate | |
11002 | |
Reviewers | |
general | |
11002 recursive mutex detection in libfakekernel
Debugging in fksmbd, noticed a recursive mutex hang. That should panic. Verified it does after the fix.