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:
parent
867ad8d322
commit
55462ed9c5
|
@ -1472,7 +1472,7 @@ void set_sched_cluster(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* set via /proc/sys/kernel/sched_cluster */
|
/* 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);
|
static DEFINE_MUTEX(sched_cluster_mutex);
|
||||||
int sched_cluster_handler(struct ctl_table *table, int write,
|
int sched_cluster_handler(struct ctl_table *table, int write,
|
||||||
|
|
Loading…
Reference in New Issue