diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-05-12 21:20:56 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 21:15:59 +0200 |
commit | 30afdcb1de0a37a2086145a82ca3febebe47d019 (patch) | |
tree | 866c4d195207ac37d4477f9ce09d429085532180 /arch/x86 | |
parent | d15f57f23eaba975309a153b23699cd0c0236974 (diff) |
ftrace: selftest protect againt max flip
There is a slight race condition in the selftest where the max update
of the wakeup and irqs/preemption off tests can be doing a max update as
the buffers are being tested. If this happens the system can crash with
a GPF.
This patch adds the max update spinlock around the checking of the
buffers to prevent such a race.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions