summarylogtreecommitdiffstats
path: root/0011-fair_group-and-autogroup-must-be-disabled-by-default.patch
blob: 35235a5cb0a1efc95aa081fcbd21c923edaaea0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From cad4d416a8f9cc41b85456af165a896594708d59 Mon Sep 17 00:00:00 2001
From: hamadmarri <hamad.s.almarri@gmail.com>
Date: Mon, 25 Mar 2024 15:20:50 +0300
Subject: [PATCH 11/16] fair_group and autogroup must be disabled by default

---
 init/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/init/Kconfig b/init/Kconfig
index bee58f746..a8bf21f68 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1009,7 +1009,7 @@ if CGROUP_SCHED
 config FAIR_GROUP_SCHED
 	bool "Group scheduling for SCHED_OTHER"
 	depends on CGROUP_SCHED
-	default CGROUP_SCHED
+	default n
 
 config CFS_BANDWIDTH
 	bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED"
@@ -1284,6 +1284,7 @@ config SCHED_AUTOGROUP
 	select CGROUPS
 	select CGROUP_SCHED
 	select FAIR_GROUP_SCHED
+	default n
 	help
 	  This option optimizes the scheduler for common desktop workloads by
 	  automatically creating and populating task groups.  This separation
-- 
2.44.0