mirror-linux/drivers/dma-buf
Linus Walleij d42d701e13 dma-buf: heaps: Clear CMA pages with clear_page()
clear_page() translates into memset(*p, 0, PAGE_SIZE) on some
architectures, but on the major architectures it will call
an optimized assembly snippet so use this instead of open
coding a memset().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Nirmoy Das <nirmoyd@nvidia.com>
Reviewed-by: T.J. Mercier <tjmercier@google.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20251130-dma-buf-heap-clear-page-v1-1-a8dcea2a88ee@linaro.org
2026-01-08 08:52:29 +01:00
..
heaps dma-buf: heaps: Clear CMA pages with clear_page() 2026-01-08 08:52:29 +01:00
Kconfig dma-buf: enable DMABUF_DEBUG by default on DEBUG kernels 2025-12-08 16:39:09 +01:00
Makefile dma-buf: provide phys_vec to scatter-gather mapping routine 2025-11-20 12:02:19 -07:00
dma-buf-mapping.c dma-buf: fix integer overflow in fill_sg_entry() for buffers >= 8GiB 2025-11-28 10:06:25 -07:00
dma-buf-sysfs-stats.c
dma-buf-sysfs-stats.h
dma-buf.c dma-buf: add some tracepoints to debug. 2025-12-18 11:21:51 +01:00
dma-fence-array.c dma-buf: fix dma_fence_array_signaled v4 2024-11-25 20:08:27 +01:00
dma-fence-chain.c dma-fence: Use a flag for 64-bit seqnos 2025-06-03 17:38:04 +01:00
dma-fence-unwrap.c dma-fence: Add helper to sort and deduplicate dma_fence arrays 2025-05-05 13:29:44 -04:00
dma-fence.c Merge drm/drm-next into drm-misc-next 2025-12-15 09:27:39 +01:00
dma-heap.c dma-buf: dma-heap: export declared functions 2025-09-11 11:22:17 +02:00
dma-resv.c dma-buf: fix timeout handling in dma_resv_wait_timeout v2 2025-06-30 13:15:44 +02:00
selftest.c
selftest.h
selftests.h
st-dma-fence-chain.c
st-dma-fence-unwrap.c dma-fence: Add some more fence-merge-unwrap tests 2025-01-09 16:40:02 +01:00
st-dma-fence.c dma-buf/selftests: drop the mock_wait implementation 2025-12-17 15:00:57 +01:00
st-dma-resv.c
sw_sync.c dma-buf/sw-sync: always taint the kernel when sw-sync is used 2025-11-25 10:07:08 +01:00
sync_debug.c dma-buf: Switch to use %ptSp 2025-11-19 10:24:13 +01:00
sync_debug.h dma-buf/sw-sync: Remove unused debug code 2025-05-08 12:51:59 +02:00
sync_file.c sync_file: Protect access to driver and timeline name 2025-06-13 08:24:12 +01:00
sync_trace.h
udmabuf.c drm-misc-next for 6.17: 2025-06-18 08:09:35 +10:00