aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/hrtimer.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-12-21 11:41:31 +0100
committerIngo Molnar <mingo@kernel.org>2018-01-16 02:35:44 +0100
commitd05ca13b8d3f685667b3b1748fa89285466270c5 (patch)
treee44a53dcbdc21c3fa5e2521db648e5e30a81f7ea /include/linux/hrtimer.h
parenthrtimer: Optimize the hrtimer code by using static keys for migration_enable/nohz_active (diff)
downloadwireguard-linux-d05ca13b8d3f685667b3b1748fa89285466270c5.tar.xz
wireguard-linux-d05ca13b8d3f685667b3b1748fa89285466270c5.zip
hrtimer: Correct blatantly incorrect comment
The protection of a hrtimer which runs its callback against migration to a different CPU has nothing to do with hard interrupt context. The protection against migration of a hrtimer running the expiry callback is the pointer in the cpu_base which holds a pointer to the currently running timer. This pointer is evaluated in the code which potentially switches the timer base and makes sure it's kept on the CPU on which the callback is running. Reported-by: Anna-Maria Gleixner <anna-maria@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Cc: Christoph Hellwig <hch@lst.de> Cc: John Stultz <john.stultz@linaro.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: keescook@chromium.org Link: http://lkml.kernel.org/r/20171221104205.7269-3-anna-maria@linutronix.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/hrtimer.h')
0 files changed, 0 insertions, 0 deletions