commit | 300812cbe1b029d6f35d285a89a26c2f0d4d6e0d | [log] [tgz] |
---|---|---|
author | Puja Gupta <pujag@codeaurora.org> | Tue Jul 18 17:40:54 2017 -0700 |
committer | Vikram Mulukutla <markivx@codeaurora.org> | Mon Jul 24 09:37:37 2017 -0700 |
tree | a135d1e0fef9f2ced2126229cce2cc5222669327 | |
parent | 9b5c8a261739aa45dd2b8c9e1d6e3b0132e4278e [diff] |
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: Puja Gupta <pujag@codeaurora.org>