HomeFreeBSD

Micro-optimize sleepq_signal().

Description

Micro-optimize sleepq_signal().

Lift a comparison out of the loop that finds the highest-priority thread
on the queue.

MFC after: 1 week

Details

Provenance
markjAuthored on
Parents
rS305367: Respect the caller's hints when performing swap readahead.
Branches
Unknown
Tags
Unknown