HMP: Implement idle pull for HMP
authorChris Redpath <chris.redpath@arm.com>
Mon, 19 Aug 2013 14:06:21 +0000 (15:06 +0100)
committerJon Medhurst <tixy@linaro.org>
Mon, 19 Aug 2013 14:41:37 +0000 (15:41 +0100)
commitdb20b7088c6d7f7920dace95c7fc8d9955650214
treef4d1f597db9deba5abcbd55c783205b445433eda
parent1f435579ea80d4639061435d8337df5a2c92e530
HMP: Implement idle pull for HMP

When an A15 goes idle, we should up-migrate anything which is
above the threshold and running on an A7.

Reuses the HMP force-migration spinlock, but adds its own new
cpu stopper client.

Signed-off-by: Chris Redpath <chris.redpath@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
kernel/sched/fair.c