Re: [PATCH v7 12/16] arm: mm: define clear_user_highpages()
From: David Hildenbrand
Date: Tue Sep 23 2025 - 04:09:46 EST
On 17.09.25 17:24, Ankur Arora wrote:
For configurations with CONFIG_MMU we do not define clear_user_page().
This runs into issues for configurations with !CONFIG_HIGHMEM, because
clear_user_highpages() expects to clear_user_page() (via a default
version of clear_user_pages()).
I'm confused. Can you elaborate once more why we cannot take care of that in common code?
If it's about clear_user_pages(), then you can just switch from !IS_ENABLED(CONFIG_HIGHMEM) to ifdef in patch #11.
--
Cheers
David / dhildenb