diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-10-28 19:30:50 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-10-29 22:17:01 -0400 |
commit | efd321768d2e0e85083b83aefb15c949d4c8930f (patch) | |
tree | 66dd13943d24814ee123f9761a9505ab41a0ce87 /drivers/cpufreq | |
parent | 84e7b4169f949f8185a5adf0f0bfb893030d0fda (diff) | |
download | linux-next-efd321768d2e0e85083b83aefb15c949d4c8930f.tar.gz |
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 <bblock@linux.ibm.com>
Reviewed-by: Steffen Maier <maier@linux.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions