diff options
author | 2024-10-07 10:37:52 +0200 | |
---|---|---|
committer | 2024-10-14 20:16:32 +0530 | |
commit | 0654196d7ea20934f90a87d1b523ef3b77fb021b (patch) | |
tree | f8f794fa42fe4ffad43edc97005b67a5da2de58e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dma-buf/heaps: replace kmap_atomic with kmap_local_page (diff) | |
download | linux-rng-0654196d7ea20934f90a87d1b523ef3b77fb021b.tar.xz linux-rng-0654196d7ea20934f90a87d1b523ef3b77fb021b.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.
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: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241007083921.47525-1-ubizjak@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions