Skip to content
Commit 7dddba0c authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Quentin Perret
Browse files

ANDROID: sched: Exempt paused CPU from nohz idle balance



A CPU can be paused while it is idle with it's tick stopped.
nohz_balance_exit_idle() should be called from the local CPU,
so it can't be called during pause which can happen remotely.
This results in paused CPU participating in the nohz idle balance,
which should be avoided. This can be done by calling

Fix this issue by calling nohz_balance_exit_idle() from the paused
CPU when it exits and enters idle again. This lazy approach avoids
waking the CPU from idle during pause.

Bug: 180530906
Change-Id: Ia2dfd9c9cac9b0f37c55a9256b9d5f3141ca0421
Signed-off-by: default avatarPavankumar Kondeti <quic_pkondeti@quicinc.com>
parent 9b0d5fb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment