HomeFreeBSD

locks: partially tidy up waiting on readers

Description

locks: partially tidy up waiting on readers

spin first instant of instantly re-readoing and don't re-read after
spinning is finished - the state is already known.

Note the code is subject to significant changes later.

MFC after: 1 week

Details

Provenance
mjgAuthored on
Parents
rS324313: Avoid a race betweem freeing LDT and context switches.
Branches
Unknown
Tags
Unknown