mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 19:47:08 +02:00
sched/walt: avoid halted cpus in newidle balance
If a halted CPU goes idle, don't try to pull tasks into the CPU. Change-Id: I50383f736ae03992b8bb43f5aa12cc2803068f6f Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>
This commit is contained in:
parent
f6b8e4e414
commit
79e3eab666
|
|
@ -693,6 +693,9 @@ static void walt_newidle_balance(void *unused, struct rq *this_rq,
|
|||
if (!cpu_active(this_cpu))
|
||||
return;
|
||||
|
||||
if (cpu_halted(this_cpu))
|
||||
return;
|
||||
|
||||
rq_unpin_lock(this_rq, rf);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user