summaryrefslogtreecommitdiffstats
path: root/kernel/timer.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2013-05-13 21:40:27 +0200
committerThomas Gleixner <tglx@linutronix.de>2013-05-14 17:40:31 +0200
commitf7ea0fd639c2c48d3c61b6eec75362be290c6874 (patch)
tree9b9d22393afbaa246272d896d2641fb0c33887be /kernel/timer.c
parent4b0c0f294f60abcdd20994a8341a95c8ac5eeb96 (diff)
downloadlinux-f7ea0fd639c2c48d3c61b6eec75362be290c6874.tar.gz
linux-f7ea0fd639c2c48d3c61b6eec75362be290c6874.tar.bz2
linux-f7ea0fd639c2c48d3c61b6eec75362be290c6874.zip
tick: Don't invoke tick_nohz_stop_sched_tick() if the cpu is offline
commit 5b39939a4 (nohz: Move ts->idle_calls incrementation into strict idle logic) moved code out of tick_nohz_stop_sched_tick() and missed to bail out when the cpu is offline. That's causing subsequent failures as an offline CPU is supposed to die and not to fiddle with nohz magic. Return false in can_stop_idle_tick() if the cpu is offline. Reported-and-tested-by: Jiri Kosina <jkosina@suse.cz> Reported-and-tested-by: Prarit Bhargava <prarit@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Tony Luck <tony.luck@intel.com> Cc: x86@kernel.org Link: http://lkml.kernel.org/r/alpine.LFD.2.02.1305132138160.2863@ionos Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/timer.c')
0 files changed, 0 insertions, 0 deletions