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 <tangyuan911@yeah.net>
This commit is contained in:
Yicong Yang 2023-02-13 10:48:54 +08:00 committed by XueSinian
parent 867ad8d322
commit 55462ed9c5
1 changed files with 1 additions and 1 deletions

View File

@ -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,