Re: [PATCH 1/3] lib/hexdump: Add a raw pointer printing format for slub debugging
From: Petr Mladek
Date: Mon May 24 2021 - 07:36:54 EST
On Wed 2021-05-19 18:35:37, Stephen Boyd wrote:
> We want to get actual pointer addresses when we're looking at slub
> debugging reports. Add another prefix format specifier that says we want
> raw pointer addresses, i.e. %px, in the printk format.
This patch makes sense only with the 2nd patch.
Please, do not do this! Raw pointers might be printed safely
only in panic(). Users should be warned by the fat warning
triggered by "no_hash_pointers" in other use-cases. And
this patch is not needed when "no_hash_pointers" are enabled.
Best Regards,
Petr