diff options
author | Richard Larocque | 2014-09-10 03:31:05 +0200 |
---|---|---|
committer | John Stultz | 2014-09-12 22:59:12 +0200 |
commit | 474e941bed9262f5fa2394f9a4a67e24499e5926 (patch) | |
tree | 1295960e17591bead96c9ae706d15c51bd68e468 /ipc | |
parent | alarmtimer: Do not signal SIGEV_NONE timers (diff) | |
download | kernel-qcow2-linux-474e941bed9262f5fa2394f9a4a67e24499e5926.tar.gz kernel-qcow2-linux-474e941bed9262f5fa2394f9a4a67e24499e5926.tar.xz kernel-qcow2-linux-474e941bed9262f5fa2394f9a4a67e24499e5926.zip |
alarmtimer: Lock k_itimer during timer callback
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: stable@vger.kernel.org
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions