On Tue, Mar 10, 2026 at 1:53 AM Linus Walleij linusw@kernel.org wrote:
Currently the CMA allocator clears highmem pages using kmap()->clear_page()->kunmap(), but there is a helper static inline in <linux/highmem.h> that does the same for us so use clear_highpage() instead of open coding this.
Suggested-by: T.J. Mercier tjmercier@google.com Signed-off-by: Linus Walleij linusw@kernel.org
Reviewed-by: T.J. Mercier tjmercier@google.com
Thanks!
linaro-mm-sig@lists.linaro.org