HomeFreeBSD

unix: Use a dedicated mtx pool for vnode name locks

Description

unix: Use a dedicated mtx pool for vnode name locks

mtxpool_sleep should be used as a leaf lock since it is a general
purpose pool shared across many consumers. Holding a pool lock while
acquiring other locks (e.g. the socket buffer lock in soreserve()) can
trigger LOR warnings for unrelated code.

Reviewed by: glebius
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D46792

Details

Provenance
jhbAuthored on Wed, Oct 2, 7:12 PM
Reviewer
glebius
Differential Revision
D46792: unix: Use a dedicated mtx pool for vnode name locks
Parents
rGcd8c3af747cc: ACPI: Treat all 20-element _BIX entires as revision 0
Branches
Unknown
Tags
Unknown