Commit 35c0a227 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/I9F5WO


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 fd903c83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1748,7 +1748,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,