diff options
author | 2017-12-14 15:32:58 -0800 | |
---|---|---|
committer | 2017-12-14 16:00:48 -0800 | |
commit | 85c3e4a5a185f22649c6bf33bdce7bb1ac890921 (patch) | |
tree | fd80bad79d44c8f1c032e0134e0fba3971f9b56c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/page_alloc.c: avoid excessive IRQ disabled times in free_unref_page_list() (diff) | |
download | linux-dev-85c3e4a5a185f22649c6bf33bdce7bb1ac890921.tar.xz linux-dev-85c3e4a5a185f22649c6bf33bdce7bb1ac890921.zip |
mm/slab.c: do not hash pointers when debugging slab
If CONFIG_DEBUG_SLAB/CONFIG_DEBUG_SLAB_LEAK are enabled, the slab code
prints extra debug information when e.g. corruption is detected. This
includes pointers, which are not very useful when hashed.
Fix this by using %px to print unhashed pointers instead where it makes
sense, and by removing the printing of a last user pointer referring to
code.
[geert+renesas@glider.be: v2]
Link: http://lkml.kernel.org/r/1513179267-2509-1-git-send-email-geert+renesas@glider.be
Link: http://lkml.kernel.org/r/1512641861-5113-1-git-send-email-geert+renesas@glider.be
Fixes: ad67b74d2469d9b8 ("printk: hash addresses printed with %p")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Christoph Lameter <cl@linux.com>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: "Tobin C . Harding" <me@tobin.cc>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions