android_kernel_google_msm/kernel/time
Thomas Gleixner 33b7cfcb34 tick: Cleanup NOHZ per cpu data on cpu down
commit 4b0c0f294f upstream.

Prarit reported a crash on CPU offline/online. The reason is that on
CPU down the NOHZ related per cpu data of the dead cpu is not cleaned
up. If at cpu online an interrupt happens before the per cpu tick
device is registered the irq_enter() check potentially sees stale data
and dereferences a NULL pointer.

Cleanup the data after the cpu is dead.

Reported-by: Prarit Bhargava <prarit@redhat.com>
Cc: Mike Galbraith <bitbucket@online.de>
Link: http://lkml.kernel.org/r/alpine.LFD.2.02.1305031451561.2886@ionos
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-05-19 10:54:40 -07:00
..
alarmtimer.c
clockevents.c
clocksource.c
jiffies.c
Kconfig
Makefile
ntp.c
posix-clock.c
tick-broadcast.c clockevents: Set dummy handler on CPU_DEAD shutdown 2013-05-07 19:51:56 -07:00
tick-common.c clockevents: Set dummy handler on CPU_DEAD shutdown 2013-05-07 19:51:56 -07:00
tick-internal.h
tick-oneshot.c
tick-sched.c tick: Cleanup NOHZ per cpu data on cpu down 2013-05-19 10:54:40 -07:00
timecompare.c
timeconv.c
timekeeping.c timekeeping: Cast raw_interval to u64 to avoid shift overflow 2012-12-03 11:47:23 -08:00
timer_list.c
timer_stats.c