diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2009-11-17 23:14:12 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-11-18 16:32:12 +0100 |
commit | 8747d793fc5c4d3e4decd41d55f6dc24498dd5f5 (patch) | |
tree | 78983389e7e4656c755e81a97b5e08de0e640e04 /drivers/mtd/tests/mtd_pagetest.c | |
parent | timekeeping: Fix clock_gettime vsyscall time warp (diff) | |
download | linux-8747d793fc5c4d3e4decd41d55f6dc24498dd5f5.tar.xz linux-8747d793fc5c4d3e4decd41d55f6dc24498dd5f5.zip |
itimers: Fix racy writes to cpu_itimer fields
incr_error and error fields of struct cpu_itimer are used when calculating
next timer tick in check_cpu_itimers() and should not be modified without
tsk->sighand->siglock taken.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
LKML-Reference: <1253802903-979-1-git-send-email-sgruszka@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/tests/mtd_pagetest.c')
0 files changed, 0 insertions, 0 deletions