From dc7335e654b9967d410a02aec8876392ff697b1b Mon Sep 17 00:00:00 2001 From: Shanpei Chen Date: Wed, 12 Jun 2019 17:08:58 +0800 Subject: [PATCH] sched: disable auto group by default Autogroup feature is used to improve interactivity for desktop application. Since our kernel runs on server, just like RHEL8, disable it by default to avoid unnecessary computing. More details, please refer https://lwn.net/Articles/416641/ Signed-off-by: Shanpei Chen Reviewed-by: Caspar Zhang --- kernel/sched/autogroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/autogroup.c b/kernel/sched/autogroup.c index 2d4ff5353ded..1fb973966804 100644 --- a/kernel/sched/autogroup.c +++ b/kernel/sched/autogroup.c @@ -5,7 +5,7 @@ #include #include "sched.h" -unsigned int __read_mostly sysctl_sched_autogroup_enabled = 1; +unsigned int __read_mostly sysctl_sched_autogroup_enabled = 0; static struct autogroup autogroup_default; static atomic_t autogroup_seq_nr; -- GitLab