Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 901863ad authored by Puja Gupta's avatar Puja Gupta Committed by Satya Durga Srinivasu Prabhala
Browse files

sched: Don't update idle_cpus_mask during core isolation



Remove code to update nohz.idle_cpus_mask from
do_isolation_work_cpu_stop(), instead update find_new_ilb() to exclude
isolated_cpus. This is done to fix the issue where cpu is not present
in nohz.idle_cpus_mask but NOHZ_TICK_STOPPED is set. As a result even
if the cpu is unisolated, task won't see the cpu as idle due to
inconsistent nohz.idle_cpus_mask.
Also restore nohz_balance_exit_idle() to upstream version.

Change-Id: Ia0dfa18ca9d55512c461801234de889a173e13da
Signed-off-by: default avatarPuja Gupta <pujag@codeaurora.org>
[markivx: Trivial conflict due to asym code in nohz_needed]
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
[satyap@codeaurora.org: trivial merge conflict resolution]
Signed-off-by: default avatarSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>
parent 921708ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment