diff options
author | Vincent Guittot <[email protected]> | 2022-08-25 14:27:24 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-09-15 16:13:51 +0200 |
commit | c59862f8265f8060b6650ee1dc12159fe5c89779 (patch) | |
tree | 6fe5febd84cbd2b3b1a9bee929b9e94c7d67160f /tools/perf/scripts/python/task-analyzer.py | |
parent | b0defa7ae03ecf91b8bfd10ede430cff12fcbd06 (diff) |
sched/fair: Cleanup loop_max and loop_break
sched_nr_migrate_break is set to a fix value and never changes so we can
replace it by a define SCHED_NR_MIGRATE_BREAK.
Also, we adjust SCHED_NR_MIGRATE_BREAK to be aligned with the init value
of sysctl_sched_nr_migrate which can be init to different values.
Then, use SCHED_NR_MIGRATE_BREAK to init sysctl_sched_nr_migrate.
The behavior stays unchanged unless you modify sysctl_sched_nr_migrate
trough debugfs.
Signed-off-by: Vincent Guittot <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions