diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2022-08-25 14:27:24 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-09-15 16:13:51 +0200 |
commit | c59862f8265f8060b6650ee1dc12159fe5c89779 (patch) | |
tree | 6fe5febd84cbd2b3b1a9bee929b9e94c7d67160f /net/unix/af_unix.c | |
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 <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220825122726.20819-3-vincent.guittot@linaro.org
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions