sched: track per-rq 'last migration time'
authorChris Redpath <chris.redpath@arm.com>
Mon, 19 Aug 2013 14:06:17 +0000 (15:06 +0100)
committerJon Medhurst <tixy@linaro.org>
Mon, 19 Aug 2013 14:41:36 +0000 (15:41 +0100)
commit5fad81c7739db3a1fc6380dcc3d7902666ed5ee8
tree42cb39cda257ee7ac497cd501c366bd00ce1ea99
parentaaba2453951b3743d003be228102e1da63c75326
sched: track per-rq 'last migration time'

Track when migrations were performed to runqueues.

Use this to decide between runqueues as migration targets when run
queues in an hmp domain have equal load.

Intention is to spread migration load amongst CPUs more fairly.

When all CPUs in an hmp domain are fully loaded, the existing code
always selects the last CPU as a migration target - this is unfair
and little better than doing no selection.

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