Commit a333d590 authored by zhangwei123171's avatar zhangwei123171
Browse files

sched/fair: reset idlest_cpu if not meet the conditions for preferred CPU

jingdong inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8PGAS



-----------------------------------------------------

We have set the preferred CPU, but when the load is too high,
the conditions for the preferred CPU are not met.
At this time, the idle CPU needs to be reset.

This will be corrected in the subsequent fallback process.
dynamic affinity should not break this logic.

Fixes: 2a3bb3c0 ("sched: Adjust wakeup cpu range according CPU util dynamicly")
Signed-off-by: default avatarzhangwei123171 <zhangwei123171@jd.com>
Reviewed-by: default avatarzhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
parent e2b3e0a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment