Commit c5ce59ba authored by zhangwei123171's avatar zhangwei123171
Browse files

sched/fair: skip smt expel when cpu down

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



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

1. smt expel IPI is not needed for a dying cpu.

2. pick_next_task_fair cannot return NULL due to the smt expel
function during cpu down handler. Affects the migration of tasks.

Fixes: fd5207be ("sched: Implement the function of qos smt expeller")
Fixes: e4108f66 ("sched/fair: Introduce QOS_SMT_EXPELL priority reversion mechanism")
Signed-off-by: default avatarzhangwei123171 <zhangwei123171@jd.com>
Reviewed-by: default avatarzhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
parent f41354b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment