aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDick Kennedy <[email protected]>2020-05-01 14:43:03 -0700
committerMartin K. Petersen <[email protected]>2020-05-07 22:47:21 -0400
commit164ba8d2df66735dd4f00d3b85d898a907fa6982 (patch)
tree1ea2b00c2d821d162ac8e0dfbb84537554c08d9d /tools/perf/scripts/python/bin/stackcollapse-record
parent356ba2a8bc8d9f9bd2ee969df0e07b285aebb559 (diff)
scsi: lpfc: Maintain atomic consistency of queue_claimed flag
A previous change introduced the atomic use of queue_claimed flag for eq's and cq's. The code works fine, but the clearing of the queue_claimed flag is not atomic. Change queue_claimed = 0 into xchg(&queue_claimed, 0) to be consistent for change under atomicity. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: James Smart <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions