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

Commit 300812cb authored by Puja Gupta's avatar Puja Gupta Committed by Vikram Mulukutla
Browse files

sched: walt: Serialize check_for_migration across all CPUs



check_for_migration may select the same destination cpu for two separate
tasks running on two separate cpus, resulting in those two tasks being
packed onto the same higher-capacity CPU. Avoid this situation by
serializing check_for_migration with a global spinlock.

Change-Id: I4ec439bcbcdc0a52a5289f239a6160baa7e50da0
Signed-off-by: default avatarPuja Gupta <pujag@codeaurora.org>
parent 9b5c8a26
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