summaryrefslogtreecommitdiff
path: root/drivers/parisc/gsc.h
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2020-10-28 19:30:50 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2020-10-29 22:17:01 -0400
commitefd321768d2e0e85083b83aefb15c949d4c8930f (patch)
tree66dd13943d24814ee123f9761a9505ab41a0ce87 /drivers/parisc/gsc.h
parent84e7b4169f949f8185a5adf0f0bfb893030d0fda (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 <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/parisc/gsc.h')
0 files changed, 0 insertions, 0 deletions