diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2026-06-04 15:15:51 +0200 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-06-30 10:56:53 +0200 |
| commit | fb1050ac8e40aaa014291b5b53612d27890c2b09 (patch) | |
| tree | 65b4d0e4d606c56e7f31aaa296a1e6867aa67445 /kernel/sched/debug.c | |
| parent | 507f910a4e1f140a245b693441b42bcbc8128938 (diff) | |
sched/fair: Change the default cgroup_mode to concur
For all the reasons described in the preceding patches, the way cgroup
weight is computed is problematic. However, changing it is bound to
also lead to trouble. Esp. since people might have taken to inflating
the weight value where they can.
Since things are configurable, change the default and hope this serves
more people than it hurts, esp. in the longer run.
Specifically, this prepares for a flattened runqueue, where the hierarchical
weight becomes far more important (F_g^d terms), so getting rid of small F_g is
imperative.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260605124052.080482755%40infradead.org
Diffstat (limited to 'kernel/sched/debug.c')
| -rw-r--r-- | kernel/sched/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c index 464d0e429ff9..f54e732e6d97 100644 --- a/kernel/sched/debug.c +++ b/kernel/sched/debug.c @@ -634,7 +634,7 @@ static void debugfs_fair_server_init(void) } #ifdef CONFIG_FAIR_GROUP_SCHED -static int cgroup_mode = 1; +static int cgroup_mode = 2; /* See __sched_cgroup_mode_update(). */ static const char *cgroup_mode_str[] = { |
