[PATCH 12/27] sched: Update rq clock on nohz CPU before migrating tasks

2012-12-29 Thread Frederic Weisbecker
Because the sched_class::put_prev_task() callback of rt and fair classes are referring to the rq clock to update their runtime statistics. A CPU running in tickless mode may carry a stale value. We need to update it there. Signed-off-by: Frederic Weisbecker Cc: Alessio Igor Bogani Cc: Andrew

[PATCH 12/27] sched: Update rq clock on nohz CPU before migrating tasks

2012-12-29 Thread Frederic Weisbecker
Because the sched_class::put_prev_task() callback of rt and fair classes are referring to the rq clock to update their runtime statistics. A CPU running in tickless mode may carry a stale value. We need to update it there. Signed-off-by: Frederic Weisbecker fweis...@gmail.com Cc: Alessio Igor