Re: [PATCH] mm: Constify arguments in default pxdp_get()
From: Pedro Falcato
Date: Fri Sep 18 2026 - 08:45:03 EST
On Fri, Sep 18, 2026 at 12:19:28PM +0530, Anshuman Khandual wrote:
> Generic MM default pxdp_get() helpers fetch the values contained in pgtable
> entries via READ_ONCE() without modifying them. Just make their arguments
> explicitly 'const' for some additional protection.
>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: David Hildenbrand <david@xxxxxxxxxx>
> Cc: Lorenzo Stoakes <ljs@xxxxxxxxxx>
> Cc: linux-mm@xxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Suggested-by: David Hildenbrand <david@xxxxxxxxxx>
> Signed-off-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>
https://lore.kernel.org/linux-mm/20260803164400.531199-1-pfalcato@xxxxxxx/
I'll respin my series, since it addresses every architecture.
(apologies for not doing it yet this merge window, but it has been hectic
downstream)
--
Pedro