Re: [PATCH V3] mm: Standardize printing for pgtable entries
From: David Hildenbrand (Arm)
Date: Fri Jul 10 2026 - 04:23:43 EST
On 7/10/26 02:08, Andrew Morton wrote:
> On Thu, 9 Jul 2026 10:13:34 +0530 Anshuman Khandual <anshuman.khandual@xxxxxxx> wrote:
>
>> From: "David Hildenbrand (Arm)" <david@xxxxxxxxxx>
>>
>> Bad page map reporting currently stores page table entry values in an
>> unsigned long long and prints them with fixed 64-bit-oriented format
>> strings. This is inconsistent across call sites and does not work well for
>> architectures where page table entry values are not naturally represented
>> as 64-bit values, such as 32-bit or 128-bit entries.
>
> Well grumble. It's a lot of fuss for something which nobody is hurting
> from. Or are they? What's the actual utility here?
Hugh seems to rely on this information heavily when debugging
https://lore.kernel.org/r/3afa822d-3cc9-1068-9a10-94a5f2e4d29a@xxxxxxxxxx
--
Cheers,
David