Page MenuHomeFreeBSD

replace preempt_thresh with a set of knobs to control preemption for each priority class
Needs ReviewPublic

Authored by avg on Jun 7 2018, 5:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 26, 10:49 PM
Unknown Object (File)
Sat, Nov 22, 8:45 PM
Unknown Object (File)
Sat, Nov 22, 4:03 PM
Unknown Object (File)
Sat, Nov 22, 6:39 AM
Unknown Object (File)
Nov 22 2025, 2:47 AM
Unknown Object (File)
Nov 22 2025, 1:07 AM
Unknown Object (File)
Nov 15 2025, 7:53 PM
Unknown Object (File)
Nov 13 2025, 7:08 PM
Subscribers
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

If preemption is enabled the new code always allows a thread from a
"higher" class to preempt a thread of a "lower" class. For example, a
real-time thread can always preempt a kernel thread or a timeshare
thread. The knobs allow to tune whether threads from the same class can
preempt each other (given that the priorities permit for that).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17078
Build 16939: arc lint + arc unit