diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2013-12-04 18:28:20 +0100 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2014-01-15 23:05:31 +0100 |
commit | 5acac1be499d979e3aa463ea73a498888faefcbe (patch) | |
tree | 5b3b38301cdeabe8d2efc77dbe743e6b7b23fea2 /kernel/irq_work.c | |
parent | 1b3f82876006bd4172ca7696aa367baf96ec7c15 (diff) | |
download | op-kernel-dev-5acac1be499d979e3aa463ea73a498888faefcbe.zip op-kernel-dev-5acac1be499d979e3aa463ea73a498888faefcbe.tar.gz |
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>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions