diff options
| author | Julian Wiedmann <[email protected]> | 2020-10-28 19:30:50 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-10-29 22:17:01 -0400 |
| commit | efd321768d2e0e85083b83aefb15c949d4c8930f (patch) | |
| tree | 66dd13943d24814ee123f9761a9505ab41a0ce87 /tools/perf/scripts/python | |
| parent | 84e7b4169f949f8185a5adf0f0bfb893030d0fda (diff) | |
scsi: zfcp: Clarify & assert the stat_lock locking in zfcp_qdio_send()
Explain why the plain spin_lock() suffices in current code, even when the
stat_lock is also used by zfcp_qdio_int_req() in tasklet context.
We could also promote the spin_lock() to a spin_lock_irqsave(), but that
would just obfuscate the locking even further.
Link: https://lore.kernel.org/r/b023b1472630f4bf9fce580577d7bb49de89ccbf.1603908167.git.bblock@linux.ibm.com
Reviewed-by: Benjamin Block <[email protected]>
Reviewed-by: Steffen Maier <[email protected]>
Signed-off-by: Julian Wiedmann <[email protected]>
Signed-off-by: Benjamin Block <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions