linux/kernel/time
Richard Larocque 3c47864204 alarmtimer: Lock k_itimer during timer callback
commit 474e941bed upstream.

Locks the k_itimer's it_lock member when handling the alarm timer's
expiry callback.

The regular posix timers defined in posix-timers.c have this lock held
during timout processing because their callbacks are routed through
posix_timer_fn().  The alarm timers follow a different path, so they
ought to grab the lock somewhere else.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Sharvil Nanavati <sharvil@google.com>
Signed-off-by: Richard Larocque <rlarocque@google.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-05 14:54:14 -07:00
..
alarmtimer.c alarmtimer: Lock k_itimer during timer callback 2014-10-05 14:54:14 -07:00
clockevents.c timer: Fix lock inversion between hrtimer_bases.lock and scheduler locks 2014-08-07 14:30:26 -07:00
clocksource.c
jiffies.c time: Fix overflow when HZ is smaller than 60 2014-02-22 12:41:29 -08:00
Kconfig
Makefile
ntp_internal.h
ntp.c ntp: Make periodic RTC update more reliable 2013-12-08 07:29:28 -08:00
posix-clock.c
tick-broadcast.c tick: Make oneshot broadcast robust vs. CPU offlining 2014-03-23 21:38:21 -07:00
tick-common.c clockevents: Prefer CPU local devices over global devices 2013-12-08 07:29:27 -08:00
tick-internal.h clockevents: Get rid of the notifier chain 2013-12-08 07:29:27 -08:00
tick-oneshot.c
tick-sched.c nohz: Fix another inconsistency between CONFIG_NO_HZ=n and nohz=off 2014-06-26 15:12:41 -04:00
timeconv.c
timekeeping.c timekeeping: Avoid possible deadlock from clock_was_set_delayed 2014-02-13 13:48:04 -08:00
timer_list.c
timer_stats.c