From 55462ed9c57de1b1b5ddcbc9fa955309811f47b1 Mon Sep 17 00:00:00 2001 From: Yicong Yang Date: Mon, 13 Feb 2023 10:48:54 +0800 Subject: [PATCH] scheduler: Disable cluster scheduling by default commit 6afb257d6dd71085344e1472ea6e820b5dc0a8e3 openeuler. ---------------------------------------------------------------------- Disable cluster scheduling by default since it's not a universal win. User can choose to enable it through sysctl or at boot time according to their scenario. Signed-off-by: Xue Sinian --- kernel/sched/topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c index 9c3aed1d66a8..0281da0b3e96 100644 --- a/kernel/sched/topology.c +++ b/kernel/sched/topology.c @@ -1472,7 +1472,7 @@ void set_sched_cluster(void) } /* set via /proc/sys/kernel/sched_cluster */ -unsigned int __read_mostly sysctl_sched_cluster = 1; +unsigned int __read_mostly sysctl_sched_cluster; static DEFINE_MUTEX(sched_cluster_mutex); int sched_cluster_handler(struct ctl_table *table, int write,