diff options
| author | Douglas Gilbert <[email protected]> | 2020-04-21 11:14:20 -0400 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-05-04 23:06:07 -0400 |
| commit | 67da413f26afc7522250bf5c9231f6711a9e7dfd (patch) | |
| tree | 044e4b9c44b6d7855aba5437a57dfa758753ae20 /tools/perf/scripts/python | |
| parent | c3e2fe9222d428f115baeba2f6b3637b3aa444cd (diff) | |
scsi: scsi_debug: Weaken rwlock around ramdisk access
The design of this driver is to do any ramdisk access on the same thread
that invoked the queuecommand() call. That is assumed to be user space
context. The command duration is implemented by setting the delay with a
high resolution timer. The hr timer's callback may well be in interrupt
context, but it doesn't touch the ramdisk. So try removing the
_irqsave()/_irqrestore() portion on the read-write lock that protects
ramdisk access.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Douglas Gilbert <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions