HMP: Explicitly implement all-load-is-max-load policy for HMP targets
authorChris Redpath <chris.redpath@arm.com>
Mon, 19 Aug 2013 14:06:19 +0000 (15:06 +0100)
committerJon Medhurst <tixy@linaro.org>
Mon, 19 Aug 2013 14:41:37 +0000 (15:41 +0100)
commit6b695bd8a4e2c86cc466010517c0260dc3653742
tree49a0c238896ea9238cf0f24103e15d82fbf8fb41
parentb98cd6acc86f2c3bc10902476836746727b73ba9
HMP: Explicitly implement all-load-is-max-load policy for HMP targets

Experimentally, one of the best policies for HMP migration CPU
selection is to completely ignore part-loaded CPUs and only look
for idle ones. If there are no idle ones, we will choose the one
which was least-recently-disturbed.

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