Re: [PATCH v8 2/7] mm: introduce clear_pages() and clear_user_pages()
From: David Hildenbrand (Red Hat)
Date: Fri Nov 07 2025 - 03:48:00 EST
On 27.10.25 21:21, Ankur Arora wrote:
Introduce clear_pages(), to be overridden by architectures that
support more efficient clearing of consecutive pages.
Also introduce clear_user_pages(), however, we will not expect
this function to be overridden anytime soon.
We have to place the clear_user_pages() variant that uses
clear_user_page() into mm/util.c for now to work around
macro magic on sparc and m68k.
Signed-off-by: Ankur Arora <ankur.a.arora@xxxxxxxxxx>
---
Acked-by: David Hildenbrand (Red Hat) <david@xxxxxxxxxx>
--
Cheers
David