diff options
| author | Kevin Hilman <[email protected]> | 2010-04-07 18:52:46 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-04-07 23:15:05 +0000 |
| commit | 3eac4abaa69949af0e2f64e5c55ee8a22bbdd3e7 (patch) | |
| tree | 9620ae3c39a0870a010a08166e29823a7afbf262 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | Have nfs ->d_revalidate() report errors properly (diff) | |
| download | kernel-3eac4abaa69949af0e2f64e5c55ee8a22bbdd3e7.tar.gz kernel-3eac4abaa69949af0e2f64e5c55ee8a22bbdd3e7.zip | |
rwsem generic spinlock: use IRQ save/restore spinlocks
rwsems can be used with IRQs disabled, particularily in early boot
before IRQs are enabled. Currently the spin_unlock_irq() usage in the
slow-patch will unconditionally enable interrupts and cause problems
since interrupts are not yet initialized or enabled.
This patch uses save/restore versions of IRQ spinlocks in the slowpath
to ensure interrupts are not unintentionally disabled.
Signed-off-by: Kevin Hilman <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
