]> Git Repo - linux.git/commit - mm/kmemleak.c
mm/kmemleak: use %pK to display kernel pointers in backtrace
authorClément Léger <[email protected]>
Tue, 8 Nov 2022 09:43:22 +0000 (10:43 +0100)
committerAndrew Morton <[email protected]>
Fri, 16 Dec 2022 00:37:49 +0000 (16:37 -0800)
commit3a6f33d86baa8103c80f62edd9393e9f7bf25d72
tree6d2c028f274dcb4a3504da01d5bd37052a45899f
parent56a61617dd2276cbc56a6c868599716386d70041
mm/kmemleak: use %pK to display kernel pointers in backtrace

Currently, %p is used to display kernel pointers in backtrace which result
in a hashed value that is not usable to correlate the address for debug.
Use %pK which will respect the kptr_restrict configuration value and thus
allow to extract meaningful information from the backtrace.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Clément Léger <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Thomas Petazzoni <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
mm/kmemleak.c
This page took 0.052784 seconds and 4 git commands to generate.