summaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-checker.h
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2024-10-07 10:37:52 +0200
committerSumit Semwal <sumit.semwal@linaro.org>2024-10-14 20:16:32 +0530
commit0654196d7ea20934f90a87d1b523ef3b77fb021b (patch)
treef8f794fa42fe4ffad43edc97005b67a5da2de58e /fs/btrfs/tree-checker.h
parent4a1cb63bf321c1e498d3f19a6049e56838b18f82 (diff)
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 'fs/btrfs/tree-checker.h')
0 files changed, 0 insertions, 0 deletions