HomeFreeBSD

ithreads: Support priority adjustment by schedulers.

Description

ithreads: Support priority adjustment by schedulers.

Use sched_wakeup instead of sched_add when marking an ithread
runnable. This allows schedulers to reset their internal time slice
tracking state and restore the base ithread priority when an ithread
resumes from idle.

Reviewed by: markj
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D35643

Details

Provenance
jhbAuthored on Jul 14 2022, 8:13 PM
Reviewer
markj
Differential Revision
D35643: ithreads: Support priority adjustment by schedulers.
Parents
rGfea89a2804ad: Add sched_ithread_prio to set the base priority of an interrupt thread.
Branches
Unknown
Tags
Unknown