Re: [RFC V2 0/3] lib/vsprintf: Add support for pgtable entries

From: Matthew Wilcox

Date: Thu Jun 11 2026 - 15:16:34 EST


On Wed, Jun 10, 2026 at 05:35:42AM +0100, Anshuman Khandual wrote:
> Printing page table entries has been a common requirement both in generic
> and platform memory management for various purposes. Hence let's create a
> dedicated printk format for such entries which will also help standardize
> pgtable printing across different platforms.

You didn't address my objection here:

https://lore.kernel.org/linux-mm/aFQP8LzVMctf6XH5@xxxxxxxxxxxxxxxxxxxx/

ie there is now no typechecking possible. So you've made it more
dangerous. I reiterate my NACK to the concept, not to the implementation.