summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2024-10-07 10:37:52 +0200
committerAndrew Morton <akpm@linux-foundation.org>2024-11-06 13:36:37 -0800
commit777620b890d783c6575f172041f390c4c075b666 (patch)
tree21013fe801bd083609e57166d472670dcabc104a /tools/perf/scripts/python/parallel-perf.py
parent82e33f249f1126cf3c5f39a31b850d485ac33bc3 (diff)
downloadlinux-stable-777620b890d783c6575f172041f390c4c075b666.tar.gz
linux-stable-777620b890d783c6575f172041f390c4c075b666.tar.bz2
linux-stable-777620b890d783c6575f172041f390c4c075b666.zip
dma-buf: use atomic64_inc_return() in dma_buf_getfile()
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. Link: https://lkml.kernel.org/r/20241007083921.47525-1-ubizjak@gmail.com Signed-off-by: Uros Bizjak <ubizjak@gmail.com> Cc: Sumit Semwal <sumit.semwal@linaro.org> Cc: "Christian König" <christian.koenig@amd.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions