
From: Ming Wang <wangming01@loongson.cn> LoongArch inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IC10DU CVE: NA -------------------------------- This commit disables the `CONFIG_RT_GROUP_SCHED` kernel configuration option. Enabling this option allows group scheduling of real-time (RT) processes. In cgroup2 environments, this can lead to resource management problems, especially for services using the SCHED_RR scheduling policy. While moving all RT processes to the root cgroup is a possible workaround, it's often impractical in complex system configurations, when dealing with legacy applications, or with kernel threads. systemd's cgroup management can also conflict with manual relocation attempts. Link: https://docs.kernel.org/admin-guide/cgroup-v2.html#cpu Change-Id: I3f344f23c784221bc3095dba889c5e247d6a802f Signed-off-by: Ming Wang <wangming01@loongson.cn> --- arch/loongarch/configs/loongson3_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig index 980f5f2c99a1..86eae1cee082 100644 --- a/arch/loongarch/configs/loongson3_defconfig +++ b/arch/loongarch/configs/loongson3_defconfig @@ -18,7 +18,6 @@ CONFIG_NUMA_BALANCING=y CONFIG_MEMCG=y CONFIG_BLK_CGROUP=y CONFIG_CFS_BANDWIDTH=y -CONFIG_RT_GROUP_SCHED=y CONFIG_CGROUP_PIDS=y CONFIG_CGROUP_RDMA=y CONFIG_CGROUP_FREEZER=y -- 2.43.0