tick: Rename tick_check_idle() to tick_irq_enter()
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 4 Dec 2013 17:28:20 +0000 (18:28 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 15 Jan 2014 22:05:31 +0000 (23:05 +0100)
commit5acac1be499d979e3aa463ea73a498888faefcbe
tree5b3b38301cdeabe8d2efc77dbe743e6b7b23fea2
parent1b3f82876006bd4172ca7696aa367baf96ec7c15
tick: Rename tick_check_idle() to tick_irq_enter()

This makes the code more symetric against the existing tick functions
called on irq exit: tick_irq_exit() and tick_nohz_irq_exit().

These function are also symetric as they mirror each other's action:
we start to account idle time on irq exit and we stop this accounting
on irq entry. Also the tick is stopped on irq exit and timekeeping
catches up with the tickless time elapsed until we reach irq entry.

This rename was suggested by Peter Zijlstra a long while ago but it
got forgotten in the mass.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Alex Shi <alex.shi@linaro.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Kevin Hilman <khilman@linaro.org>
Link: http://lkml.kernel.org/r/1387320692-28460-2-git-send-email-fweisbec@gmail.com
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
include/linux/tick.h
kernel/softirq.c
kernel/time/tick-sched.c
This page took 0.025356 seconds and 5 git commands to generate.