26d295a1b4
These get allocated and freed millions of times on this kernel tree. Use a dedicated kmem_cache pool and avoid costly dynamic memory allocations. Most allocations' size is: (sizeof(struct dma_buf) + sizeof(struct reservation_object)). Put those under kmem_cache pool and distinguish them with dmabuf->from_kmem flag. Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com> [@0ctobot: Adapted for 4.19] Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com> |
||
---|---|---|
.. | ||
dma-buf-ref.c | ||
dma-buf.c | ||
dma-fence-array.c | ||
dma-fence.c | ||
Kconfig | ||
Makefile | ||
reservation.c | ||
seqno-fence.c | ||
sw_sync.c | ||
sync_debug.c | ||
sync_debug.h | ||
sync_file.c | ||
sync_trace.h |