HMP: Avoid multiple calls to hmp_domain_min_load in fast path
authorChris Redpath <chris.redpath@arm.com>
Fri, 30 Jan 2015 08:10:42 +0000 (17:10 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:41:38 +0000 (13:41 +0900)
commite5db950dd9485864e2ee65ddc8c342c46819bf48
tree99905ec1430d53d597dfab25a81b29c959741063
parenteccbc929a0b307fc77bcb81783a9bf8702505c43
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>
[k.kozlowski: rebased on 4.1, no signed-off-by of previous committer]
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
kernel/sched/fair.c