Thread (14 messages) 14 messages, 5 authors, 2021-05-26

Re: [PATCH 1/3] lib/hexdump: Add a raw pointer printing format for slub debugging

From: Petr Mladek <pmladek@suse.com>
Date: 2021-05-24 11:36:54
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help