Messages in this thread Patch in this message | | | From | Frederic Weisbecker <> | Subject | [PATCH 1/2] nohz: Drop useless call in tick_nohz_start_idle() | Date | Thu, 21 Jul 2011 20:49:36 +0200 |
| |
The call to update_ts_time_stats() there is useless. All we need is to save the idle entry_time.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> --- kernel/time/tick-sched.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index d5097c4..58e1a96 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -185,9 +185,6 @@ static ktime_t tick_nohz_start_idle(int cpu, struct tick_sched *ts) ktime_t now; now = ktime_get(); - - update_ts_time_stats(cpu, ts, now, NULL); - ts->idle_entrytime = now; ts->idle_active = 1; sched_clock_idle_sleep_event(); -- 1.7.5.4
| |