HomeFreeBSD

Do not acquire the thread lock in hardclock_cnt() unless needed.

Description

Do not acquire the thread lock in hardclock_cnt() unless needed.

This function only sets thread flags if a SIGPROF or SIGVTALRM timer
has fired, which is almost never the case.

MFC after: 2 weeks

Details

Provenance
markjAuthored on
Parents
rS300109: Micro-optimize sleepq_broadcast().
Branches
Unknown
Tags
Unknown