From 2919f5bcdf2015cfac227115fb8c9d02049d34b4 Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Tue, 30 Nov 2021 21:06:06 +0000 Subject: [PATCH] Disable CONFIG_RT_GROUP_SCHED kernel config option Android does not use per-cgroup CPU allowance for RT tasks feature. Disable it so that RT task allowance is controlled globally using /proc/sys/kernel/sched_rt_runtime_us. Bug: 149954332 Test: TreeHugger Change-Id: I63fe994732d9abb0119a79870f4c3c772db75aa7 Suggested-by: Snild Dolkow Signed-off-by: Suren Baghdasaryan Merged-In: I63fe994732d9abb0119a79870f4c3c772db75aa7 Ref : https://android.googlesource.com/kernel/configs/+/f5591f5e9e7bc4d7984696055955653373e9b48a%5E%21/#F0 --- arch/arm64/configs/lineage-msm8998-yoshino-lilac_defconfig | 2 +- arch/arm64/configs/lineage-msm8998-yoshino-maple_defconfig | 2 +- arch/arm64/configs/lineage-msm8998-yoshino-maple_dsds_defconfig | 2 +- arch/arm64/configs/lineage-msm8998-yoshino-poplar_defconfig | 2 +- .../arm64/configs/lineage-msm8998-yoshino-poplar_dsds_defconfig | 2 +- .../arm64/configs/lineage-msm8998-yoshino-poplar_kddi_defconfig | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/configs/lineage-msm8998-yoshino-lilac_defconfig b/arch/arm64/configs/lineage-msm8998-yoshino-lilac_defconfig index ed76cae7a6f4..5247d3afff18 100644 --- a/arch/arm64/configs/lineage-msm8998-yoshino-lilac_defconfig +++ b/arch/arm64/configs/lineage-msm8998-yoshino-lilac_defconfig @@ -150,7 +150,7 @@ CONFIG_MEMCG_SWAP_ENABLED=y # CONFIG_CGROUP_PERF is not set CONFIG_CGROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y -CONFIG_RT_GROUP_SCHED=y +#CONFIG_RT_GROUP_SCHED is not set # CONFIG_BLK_CGROUP is not set # CONFIG_CHECKPOINT_RESTORE is not set CONFIG_NAMESPACES=y diff --git a/arch/arm64/configs/lineage-msm8998-yoshino-maple_defconfig b/arch/arm64/configs/lineage-msm8998-yoshino-maple_defconfig index 233cd3e183e2..e4ee38f7eb90 100644 --- a/arch/arm64/configs/lineage-msm8998-yoshino-maple_defconfig +++ b/arch/arm64/configs/lineage-msm8998-yoshino-maple_defconfig @@ -150,7 +150,7 @@ CONFIG_MEMCG_SWAP_ENABLED=y # CONFIG_CGROUP_PERF is not set CONFIG_CGROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y -CONFIG_RT_GROUP_SCHED=y +#CONFIG_RT_GROUP_SCHED is not set # CONFIG_BLK_CGROUP is not set # CONFIG_CHECKPOINT_RESTORE is not set CONFIG_NAMESPACES=y diff --git a/arch/arm64/configs/lineage-msm8998-yoshino-maple_dsds_defconfig b/arch/arm64/configs/lineage-msm8998-yoshino-maple_dsds_defconfig index c6074c3e7ea0..08cbdf5d1274 100644 --- a/arch/arm64/configs/lineage-msm8998-yoshino-maple_dsds_defconfig +++ b/arch/arm64/configs/lineage-msm8998-yoshino-maple_dsds_defconfig @@ -150,7 +150,7 @@ CONFIG_MEMCG_SWAP_ENABLED=y # CONFIG_CGROUP_PERF is not set CONFIG_CGROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y -CONFIG_RT_GROUP_SCHED=y +#CONFIG_RT_GROUP_SCHED is not set # CONFIG_BLK_CGROUP is not set # CONFIG_CHECKPOINT_RESTORE is not set CONFIG_NAMESPACES=y diff --git a/arch/arm64/configs/lineage-msm8998-yoshino-poplar_defconfig b/arch/arm64/configs/lineage-msm8998-yoshino-poplar_defconfig index 58ecb4416d5c..dc828835ff35 100644 --- a/arch/arm64/configs/lineage-msm8998-yoshino-poplar_defconfig +++ b/arch/arm64/configs/lineage-msm8998-yoshino-poplar_defconfig @@ -150,7 +150,7 @@ CONFIG_MEMCG_SWAP_ENABLED=y # CONFIG_CGROUP_PERF is not set CONFIG_CGROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y -CONFIG_RT_GROUP_SCHED=y +#CONFIG_RT_GROUP_SCHED is not set # CONFIG_BLK_CGROUP is not set # CONFIG_CHECKPOINT_RESTORE is not set CONFIG_NAMESPACES=y diff --git a/arch/arm64/configs/lineage-msm8998-yoshino-poplar_dsds_defconfig b/arch/arm64/configs/lineage-msm8998-yoshino-poplar_dsds_defconfig index 4994938a8a11..da44e3ea6116 100644 --- a/arch/arm64/configs/lineage-msm8998-yoshino-poplar_dsds_defconfig +++ b/arch/arm64/configs/lineage-msm8998-yoshino-poplar_dsds_defconfig @@ -150,7 +150,7 @@ CONFIG_MEMCG_SWAP_ENABLED=y # CONFIG_CGROUP_PERF is not set CONFIG_CGROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y -CONFIG_RT_GROUP_SCHED=y +#CONFIG_RT_GROUP_SCHED is not set # CONFIG_BLK_CGROUP is not set # CONFIG_CHECKPOINT_RESTORE is not set CONFIG_NAMESPACES=y diff --git a/arch/arm64/configs/lineage-msm8998-yoshino-poplar_kddi_defconfig b/arch/arm64/configs/lineage-msm8998-yoshino-poplar_kddi_defconfig index cb9920433dc3..1b857910e9ea 100644 --- a/arch/arm64/configs/lineage-msm8998-yoshino-poplar_kddi_defconfig +++ b/arch/arm64/configs/lineage-msm8998-yoshino-poplar_kddi_defconfig @@ -150,7 +150,7 @@ CONFIG_MEMCG_SWAP_ENABLED=y # CONFIG_CGROUP_PERF is not set CONFIG_CGROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y -CONFIG_RT_GROUP_SCHED=y +#CONFIG_RT_GROUP_SCHED is not set # CONFIG_BLK_CGROUP is not set # CONFIG_CHECKPOINT_RESTORE is not set CONFIG_NAMESPACES=y