[PATCH 17/27] sched: Update rq clock before idle balancing

2012-12-29 Thread Frederic Weisbecker
idle_balance() is called from schedule() right before we schedule the idle task. It needs to record the idle timestamp at that time and for this the rq clock must be accurate. If the CPU is running tickless we need to update the rq clock manually. Signed-off-by: Frederic Weisbecker Cc: Alessio

[PATCH 17/27] sched: Update rq clock before idle balancing

2012-12-29 Thread Frederic Weisbecker
idle_balance() is called from schedule() right before we schedule the idle task. It needs to record the idle timestamp at that time and for this the rq clock must be accurate. If the CPU is running tickless we need to update the rq clock manually. Signed-off-by: Frederic Weisbecker