diff options
author | Justin Tee <[email protected]> | 2024-01-31 10:51:08 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-02-05 20:51:36 -0500 |
commit | 9bb36777d0a2a22f11264c36f91a2682bfedb9d4 (patch) | |
tree | 1b5773e1fe7da7a7ba5b5109d0f873da8cdcdf96 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 0dfd9cbc187c4bb7e35decacae9a131027ea50a3 (diff) |
scsi: lpfc: Protect vport fc_nodes list with an explicit spin lock
In attempt to reduce the amount of unnecessary shost_lock acquisitions in
the lpfc driver, replace shost_lock with an explicit fc_nodes_list_lock
spinlock when accessing vport->fc_nodes lists. Although vport memory
region is owned by shost->hostdata, it is driver private memory and an
explicit fc_nodes list lock for fc_nodes list mutations is more appropriate
than locking the entire shost.
Signed-off-by: Justin Tee <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions