aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorJustin Tee <[email protected]>2024-04-29 22:15:44 +0000
committerMartin K. Petersen <[email protected]>2024-05-07 01:53:58 +0000
commite780c9423b1095ae9d96ce8fdbe2a92592d88073 (patch)
tree4b6e31d1f249bc5eaf1216aff229768be038f617 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentscsi: lpfc: Introduce rrq_list_lock to protect active_rrq_list (diff)
downloadkernel-e780c9423b1095ae9d96ce8fdbe2a92592d88073.tar.gz
kernel-e780c9423b1095ae9d96ce8fdbe2a92592d88073.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions