Use clear_pages() and clear_highpage() properly in the
DMA heap allocator.
Signed-off-by: Linus Walleij <[email protected]>
---
Changes in v2:
- Added a second patch to use the clear_highpage() helper.
- Link to v1:
https://lore.kernel.org/r/[email protected]
---
Linus Walleij (2):
dma-buf: heaps: Clear CMA pages with clear_pages()
dma-buf: heaps: Clear CMA highages using helper
drivers/dma-buf/heaps/cma_heap.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260303-cma-heap-clear-pages-540f3ac9f734
Best regards,
--
Linus Walleij <[email protected]>