HMP: Implement idle pull for HMP
authorChris Redpath <chris.redpath@arm.com>
Thu, 8 Aug 2013 15:41:26 +0000 (16:41 +0100)
committerJon Medhurst <tixy@linaro.org>
Thu, 5 Sep 2013 17:09:17 +0000 (18:09 +0100)
commit1325a370daa4878e3153e877a68d29a0ab308d3b
tree1c9edd94f625d2f209ecc53f2c10df625ae162a6
parent70845269b55dd275c19d253bbb79b36fbf9a83d6
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