HomeFreeBSD

Use sleepq_signal(SLEEPQ_DROP) in cv_signal().

Description

Use sleepq_signal(SLEEPQ_DROP) in cv_signal().

Same as wakeup_one()/wakeup_any() commit before it reduces the lock
hold time and so contention.

MFC after: 1 week

(cherry picked from commit 63ca9ea4f34d887b66c7b9f1710f5e4be543ebed)

Details

Provenance
mavAuthored on Jul 10 2021, 12:52 AM
Parents
rGfec5a70e1f41: x86: use ANSI C definition style for trap_fatal
Branches
Unknown
Tags
Unknown