diff options
author | Justin Tee <justin.tee@broadcom.com> | 2024-04-30 01:15:44 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-05-07 04:53:58 +0300 |
commit | e780c9423b1095ae9d96ce8fdbe2a92592d88073 (patch) | |
tree | 4b6e31d1f249bc5eaf1216aff229768be038f617 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 5f800d72762ad8cf54104edafc6e882e4be96d24 (diff) | |
download | linux-e780c9423b1095ae9d96ce8fdbe2a92592d88073.tar.xz |
scsi: lpfc: Change lpfc_hba hba_flag member into a bitmask
In attempt to reduce the amount of unnecessary phba->hbalock acquisitions
in the lpfc driver, change hba_flag into an unsigned long bitmask and use
clear_bit/test_bit bitwise atomic APIs instead of reliance on phba->hbalock
for synchronization.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20240429221547.6842-6-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions