sched: Update rq clock before migrating tasks out of dying CPU
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 11 Apr 2013 23:50:58 +0000 (01:50 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 28 May 2013 07:40:23 +0000 (09:40 +0200)
Because the sched_class::put_prev_task() callback of rt and fair
classes are referring to the rq clock to update their runtime
statistics. There is a missing rq clock update from the CPU
hotplug notifier's entry point of the scheduler.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Li Zhong <zhong@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul Turner <pjt@google.com>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1365724262-20142-2-git-send-email-fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>

No differences found