[PATCH RFC 1/2] pgtable: add pte_clrhuge() implementation for arm64 and riscv
Matthew Wilcox
willy at infradead.org
Thu Oct 16 11:22:32 PDT 2025
On Thu, Oct 16, 2025 at 07:27:03PM +0800, Yin Tirui wrote:
> Add pte_clrhuge() helper function for architectures that enable
> ARCH_SUPPORTS_HUGE_PFNMAP to clear huge page attributes from PTE
> entries.
I really would prefer to see pte_clrhuge() removed first. Otherwise
this just goes onto the long list of "somebody should clean this up some
day" and nobody ever will.
More information about the linux-riscv
mailing list