Re: [RFC V3 1/8] mm: Make ptrval_to_str() generally available
From: David Hildenbrand (Arm)
Date: Tue Aug 18 2026 - 13:25:30 EST
On 8/18/26 06:00, Anshuman Khandual wrote:
> Move ptrval_to_str() inside a header thus making the helper more generally
> available for new users which are being added later. While here, also move
> another related string size macro PTVAL_STR_MAX inside the header as well.
>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: David Hildenbrand <david@xxxxxxxxxx>
> Cc: Lorenzo Stoakes <ljs@xxxxxxxxxx>
> Cc: linux-mm@xxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Signed-off-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>
> ---
I would have placed that into include/linux/pgtable.h. Any particular reason for
mm_types?
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David