aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2024-06-18 10:09:17 -1000
committerTejun Heo <[email protected]>2024-06-18 10:09:17 -1000
commit2c8d046d5d51691550da023976815e7a64151636 (patch)
tree84c254acd1b91b34e7d616cde0fb00939ccac915 /tools/perf/scripts/python
parent96fd6c65efc652e9054163e6d3cf254b9e5b93d2 (diff)
sched: Add normal_policy()
A new BPF extensible sched_class will need to dynamically change how a task picks its sched_class. For example, if the loaded BPF scheduler progs fail, the tasks will be forced back on CFS even if the task's policy is set to the new sched_class. To support such mapping, add normal_policy() which wraps testing for %SCHED_NORMAL. This doesn't cause any behavior changes. v2: Update the description with more details on the expected use. Signed-off-by: Tejun Heo <[email protected]> Reviewed-by: David Vernet <[email protected]> Acked-by: Josh Don <[email protected]> Acked-by: Hao Luo <[email protected]> Acked-by: Barret Rhoden <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions