sched: track per-rq 'last migration time'
authorChris Redpath <chris.redpath@arm.com>
Thu, 8 Aug 2013 15:31:07 +0000 (16:31 +0100)
committerJon Medhurst <tixy@linaro.org>
Thu, 5 Sep 2013 17:09:16 +0000 (18:09 +0100)
commitadd684211e0ff4a08f419f6547fc311a72c35391
treebca7588c1acf06b7fb7778f9f560a782041099db
parentc05cd3079d0dd31ee5391a2a5c036fdecc67a136
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