tick: Consolidate tick handling for high and low res handlers
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 15 Oct 2012 00:43:03 +0000 (02:43 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Mon, 15 Oct 2012 16:42:25 +0000 (18:42 +0200)
commit9e8f559b08cbc1cfcbf093840a2a760a946cb90f
treeb586d0a1449972c96bcbd6c1c81b96c0c1b759dd
parent5bb962269c29cbb878414cddf0ebdff8c5cdef0a
tick: Consolidate tick handling for high and low res handlers

Besides unifying code, this also adds the idle check before
processing idle accounting specifics on the low res handler.
This way we also generalize this part of the nohz code for
!CONFIG_HIGH_RES_TIMERS to prepare for the adaptive tickless
features.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
kernel/time/tick-sched.c
This page took 0.035768 seconds and 5 git commands to generate.