From bc13a2bc9ca76be4215077f45df753a7851329f3 Mon Sep 17 00:00:00 2001 From: zhangwei123171 Date: Mon, 7 Aug 2023 14:15:44 +0800 Subject: [PATCH] sched/fair: remove cpu.qos_leve from root cpu cgroup jingdong inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7R399 ----------------------------------------------------- /sys/fs/cgroup/cpu/cpu.qos_level is not needed, and easy to cause misunderstanding. Signed-off-by: zhangwei123171 Reviewed-by: zhaoxiaoqiang11 --- kernel/sched/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 71c69c8161ff..671cfcd38169 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -9666,6 +9666,7 @@ static struct cftype cpu_legacy_files[] = { #ifdef CONFIG_QOS_SCHED { .name = "qos_level", + .flags = CFTYPE_NOT_ON_ROOT, .read_s64 = cpu_qos_read, .write_s64 = cpu_qos_write, }, -- GitLab