# Re: \[RFC V3 1/8\] mm: Make ptrval\_to\_str() generally available

- From: David Hildenbrand (Arm) \<david@kernel.org\>
- Date: 2026-08-18 17:25:17 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/08/17430246
- Thread: https://ratatoskr.run/linux-mm/2026/08/17426829/t.md

```text
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@linux-foundation.org>
> Cc: David Hildenbrand <david@kernel.org>
> Cc: Lorenzo Stoakes <ljs@kernel.org>
> Cc: <redacted>
> Cc: <redacted>
> Signed-off-by: Anshuman Khandual <redacted>
> ---

I would have placed that into include/linux/pgtable.h. Any particular reason for
mm_types?

Acked-by: David Hildenbrand (Arm) <david@kernel.org>

-- 
Cheers,

David

```
