HomeFreeBSD

mtx: clean up locking spin mutexes

Description

mtx: clean up locking spin mutexes

  1. shorten the fast path by pushing the lockstat probe to the slow path
  2. test for kernel panic only after it turns out we will have to spin,

in particular test only after we know we are not recursing

MFC after: 1 week

Details

Provenance
mjgAuthored on
Parents
rS324777: MFC r324594: truss: mention 'H' in usage
Branches
Unknown
Tags
Unknown