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)
Thu, Sep 18, 11:57 PM
Unknown Object (File)
Sat, Sep 13, 2:47 AM
Unknown Object (File)
Fri, Sep 12, 8:39 PM
Unknown Object (File)
Wed, Sep 3, 3:17 PM
Unknown Object (File)
Sun, Aug 31, 7:33 PM
Unknown Object (File)
Aug 23 2025, 12:06 PM
Unknown Object (File)
Aug 23 2025, 11:20 AM
Unknown Object (File)
Aug 20 2025, 3:45 AM
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