diff options
author | Justin Tee <justin.tee@broadcom.com> | 2024-11-01 01:32:17 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-11-03 04:45:24 +0300 |
commit | 92b99f1a73b7951f05590fd01640dcafdbc82c21 (patch) | |
tree | c7f4ccd04373b6772f73f98595a890aae23730e3 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 32566a6f1ae558d0e79fed6e17a75c253367a57f (diff) | |
download | linux-92b99f1a73b7951f05590fd01640dcafdbc82c21.tar.xz |
scsi: lpfc: Change lpfc_nodelist nlp_flag member into a bitmask
In attempt to reduce the amount of unnecessary ndlp->lock acquisitions
in the lpfc driver, change nlpa_flag into an unsigned long bitmask and
use clear_bit/test_bit bitwise atomic APIs instead of reliance on
ndlp->lock for synchronization.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20241031223219.152342-10-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions