HMP: Avoid multiple calls to hmp_domain_min_load in fast path
authorChris Redpath <chris.redpath@arm.com>
Thu, 9 May 2013 15:21:29 +0000 (16:21 +0100)
committerJon Medhurst <tixy@linaro.org>
Wed, 17 Jul 2013 10:32:29 +0000 (11:32 +0100)
commit3f3b210703f80fe60dbfa13c25b30d4effbf9f4b
treefce5e22c5153baaec19e14ecb6ce19281cae3197
parent08d7db89a214a138516419a85e17272b09180abd
HMP: Avoid multiple calls to hmp_domain_min_load in fast path

When evaluating a migration we make two calls to hmp_domain_min_load.
This is unnecessary if we pass on the target CPU information from the
hmp_up_migration path.

In hmp_down_migration, we don't consider the load of the target CPUS.

Signed-off-by: Chris Redpath <chris.redpath@arm.com>
kernel/sched/fair.c