sched: Ignore offline CPUs in HMP migration & load stats
authorChris Redpath <chris.redpath@arm.com>
Thu, 16 May 2013 16:48:24 +0000 (17:48 +0100)
committerJon Medhurst <tixy@linaro.org>
Wed, 17 Jul 2013 10:12:26 +0000 (11:12 +0100)
commitb64cc6f7e54b97536dbecc05d193b31b27feecf1
treef1000fa95e5501404f6369343178d43d95434df3
parentd2c920023cbc456414f8e07ff253a89be535b41b
sched: Ignore offline CPUs in HMP migration & load stats

Previously, an offline CPU would always appear to have a zero load
and this would distort the offload functionality used for balancing
big and little domains.

Maintain a mask of online CPUs in each domain and use this instead.

Change-Id: I639b564b2f40cb659af8ceb8bd37f84b8a1fe323
Signed-off-by: Chris Redpath <chris.redpath@arm.com>
arch/arm/kernel/topology.c
include/linux/sched.h
kernel/sched/fair.c