HomeFreeBSD

softclock: Use dedicated ithreads for running callouts.

Description

softclock: Use dedicated ithreads for running callouts.

Rather than using the swi infrastructure, rewrite softclock() as a
thread loop (softclock_thread()) and use it as the main routine of the
softclock threads. The threads use the CC_LOCK as the thread lock
when idle.

Reviewed by: mav, imp, kib
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D33683

Details

Provenance
jhbAuthored on Dec 30 2021, 10:54 PM
Reviewer
mav
Differential Revision
D33683: softclock: Use dedicated ithreads for running callouts.
Parents
rGdda9847275da: depend-cleanup.sh: Handle stale libc++.so ldscripts.
Branches
Unknown
Tags
Unknown