It's typo error, should be FAIR_GROUP_SCHED but not FAIR_CGROUP_SCHED.
Yipeng Zou (2): Revert "sched: QOS_SCHED_DYNAMIC_AFFINITY depend on FAIR_CGROUP_SCHED" sched: QOS_SCHED_DYNAMIC_AFFINITY depend on FAIR_GROUP_SCHED
init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9R3F8 CVE: NA
--------------------------------
It's typo error, should be FAIR_GROUP_SCHED but not FAIR_CGROUP_SCHED.
This reverts commit 7fddb812509727addde0bc954a5502e620deae23.
Fixes: 7fddb8125097 ("sched: QOS_SCHED_DYNAMIC_AFFINITY depend on FAIR_CGROUP_SCHED") Signed-off-by: Yipeng Zou zouyipeng@huawei.com --- init/Kconfig | 1 - 1 file changed, 1 deletion(-)
diff --git a/init/Kconfig b/init/Kconfig index 758b9988d742..b722b7a887c1 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1072,7 +1072,6 @@ config TASK_PLACEMENT_BY_CPU_RANGE config QOS_SCHED_DYNAMIC_AFFINITY bool "qos dynamic affinity" depends on CPUSETS - depends on FAIR_CGROUP_SCHED select TASK_PLACEMENT_BY_CPU_RANGE default n help
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9R3F8 CVE: NA
--------------------------------
There are many link error when QOS_SCHED_DYNAMIC_AFFINITY = y && FAIR_GROUP_SCHED=n.
The QOS_SCHED_DYNAMIC_AFFINITY feature need FAIR_GROUP_SCHED has been selected first.
Fixes: 229f5c1f3868 ("sched: Introduce dynamic affinity for cfs scheduler") Signed-off-by: Yipeng Zou zouyipeng@huawei.com --- init/Kconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/init/Kconfig b/init/Kconfig index b722b7a887c1..b5a882ded286 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1072,6 +1072,7 @@ config TASK_PLACEMENT_BY_CPU_RANGE config QOS_SCHED_DYNAMIC_AFFINITY bool "qos dynamic affinity" depends on CPUSETS + depends on FAIR_GROUP_SCHED select TASK_PLACEMENT_BY_CPU_RANGE default n help
反馈: 您发送到kernel@openeuler.org的补丁/补丁集,转换为PR失败! 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/S... 失败原因:应用补丁/补丁集失败,Patch failed at 0001 Revert "sched: QOS_SCHED_DYNAMIC_AFFINITY depend on FAIR_CGROUP_SCHED" 建议解决方法:请查看失败原因, 确认补丁是否可以应用在当前期望分支的最新代码上
FeedBack: The patch(es) which you have sent to kernel@openeuler.org has been converted to PR failed! Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/S... Failed Reason: apply patch(es) failed, Patch failed at 0001 Revert "sched: QOS_SCHED_DYNAMIC_AFFINITY depend on FAIR_CGROUP_SCHED" Suggest Solution: please checkout if the failed patch(es) can work on the newest codes in expected branch