summaryrefslogtreecommitdiff
path: root/rust/helpers/fs.c
diff options
context:
space:
mode:
authorT.J. Mercier <tjmercier@google.com>2025-04-17 18:09:41 +0000
committerSumit Semwal <sumit.semwal@linaro.org>2025-07-09 15:51:39 +0530
commita951020202b88cee91feab00b36946c62e5a71d3 (patch)
tree083d5443758e4a2243b032c2bf07af43ec19f91d /rust/helpers/fs.c
parentfe88fb3421161f3abd974ee2ecbe2d9195f98812 (diff)
dma-buf: system_heap: No separate allocation for attachment sg_tables
struct dma_heap_attachment is a separate allocation from the struct sg_table it contains, but there is no reason for this. Let's use the slab allocator just once instead of twice for dma_heap_attachment. Signed-off-by: T.J. Mercier <tjmercier@google.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Link: https://lore.kernel.org/r/20250417180943.1559755-1-tjmercier@google.com
Diffstat (limited to 'rust/helpers/fs.c')
0 files changed, 0 insertions, 0 deletions