diff options
author | Uros Bizjak <[email protected]> | 2024-10-07 10:43:31 +0200 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-10-15 10:22:37 +0200 |
commit | 5ce73c524f5fb5abd7b1bfed0115474b4fb437b4 (patch) | |
tree | 7926e0f22c742cf4bc6e6d913a9757c092b68f76 /tools/perf/scripts/python/task-analyzer.py | |
parent | 8e929cb546ee42c9a61d24fae60605e9e3192354 (diff) |
iommu/amd: Use atomic64_inc_return() in iommu.c
Use atomic64_inc_return(&ref) instead of atomic64_add_return(1, &ref)
to use optimized implementation and ease register pressure around
the primitive for targets that implement optimized variant.
Signed-off-by: Uros Bizjak <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: Suravee Suthikulpanit <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Robin Murphy <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions