Re: [PATCH V3] mm: Standardize printing for pgtable entries

From: David Hildenbrand (Arm)

Date: Thu Jul 09 2026 - 06:43:05 EST


On 7/9/26 12:13, Andy Shevchenko wrote:
> On Thu, Jul 09, 2026 at 01:11:46PM +0300, Andy Shevchenko wrote:
>> On Thu, Jul 09, 2026 at 11:15:27AM +0200, Petr Mladek wrote:
>
> ...
>
>>> But maybe you had something particular in mind.
>>
>> Yes, I was thinking of a wrapper on top of special_hex_number(). It takes size
>> as an argument and hence will work even for 128-bit cases.
>
> Okay, the argument is limited to 64-bit in there. But I don't think it's a big
> impediment.

Rewrite number() / create a new 128bit variants to avoid 3 simple snprintf()
statements? :)

Hm ...

--
Cheers,

David