Commit 6afb257d authored by Yicong Yang's avatar Yicong Yang Committed by Jie Liu
Browse files

scheduler: Disable cluster scheduling by default

kunpeng inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5W44S


CVE: NA

----------------------------------------------------------------------

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: default avatarYicong Yang <yangyicong@hisilicon.com>
Signed-off-by: default avatarJie Liu <liujie375@h-partners.com>
parent 9e68cc2b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1574,7 +1574,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,