[RFC PATCH 3/6] mm/mremap: Use pmd/pud_poplulate to update page table entries

Peter Zijlstra peterz at infradead.org
Tue Feb 2 21:47:16 AEDT 2021


On Tue, Feb 02, 2021 at 02:41:13PM +0530, Aneesh Kumar K.V wrote:
> pmd/pud_populate is the right interface to be used to set the respective
> page table entries. Some architectures do assume that set_pmd/pud_at
> can only be used to set a hugepage PTE. Since we are not setting up a hugepage
> PTE here, use the pmd/pud_populate interface.

Since you did the audit, it might be nice to record which architectures
that are. Also, how much work to fix them?


More information about the Linuxppc-dev mailing list