diff options
author | Tejun Heo <tj@kernel.org> | 2024-09-03 21:54:28 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-09-03 21:54:28 -1000 |
commit | 8b1451f2f723f845c05b8bad3d4c45de284338b5 (patch) | |
tree | 40c1c3eb2b609f70122f362c629c3b80bf7b1276 /scripts/generate_rust_analyzer.py | |
parent | 7c65ae81ea86a6ed8086e1a5651acd766187f19b (diff) |
sched_ext: Replace SCX_TASK_BAL_KEEP with SCX_RQ_BAL_KEEP
SCX_TASK_BAL_KEEP is used by balance_one() to tell pick_next_task_scx() to
keep running the current task. It's not really a task property. Replace it
with SCX_RQ_BAL_KEEP which resides in rq->scx.flags and is a better fit for
the usage. Also, the existing clearing rule is unnecessarily strict and
makes it difficult to use with core-sched. Just clear it on entry to
balance_one().
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions