From: Zheng Zucheng zhengzucheng@huawei.com
hulk inclusion category: bugfix bugzilla: 51828, https://gitee.com/openeuler/kernel/issues/I4K96G CVE: NA
--------------------------------
When unthrottle offline tasks successfully, we should clear idle_stamp.
Signed-off-by: Zhang Qiao zhangqiao22@huawei.com Signed-off-by: Zheng Zucheng zhengzucheng@huawei.com Reviewed-by: Chen Hui judy.chenhui@huawei.com Reviewed-by: Xiu Jianfeng xiujianfeng@huawei.com Signed-off-by: Yang Yingliang yangyingliang@huawei.com --- kernel/sched/fair.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 68adc25c1a249..d6b16c99c8656 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -7144,6 +7144,7 @@ done: __maybe_unused;
#ifdef CONFIG_QOS_SCHED if (unthrottle_qos_cfs_rqs(cpu_of(rq))) { + rq->idle_stamp = 0; goto again; } #endif