summaryrefslogtreecommitdiff
path: root/crypto/anubis.c
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2017-01-25 02:18:02 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-25 03:26:14 +0300
commitaa2efd5ea4041754da4046c3d2e7edaac9526258 (patch)
treee10a9bc10ac113baf513117c22d50c98c606fb61 /crypto/anubis.c
parent15a77c6fe494f4b1757d30cd137fe66ab06a38c3 (diff)
downloadlinux-aa2efd5ea4041754da4046c3d2e7edaac9526258.tar.xz
mm/slub.c: trace free objects at KERN_INFO
Currently when trace is enabled (e.g. slub_debug=T,kmalloc-128 ) the trace messages are mostly output at KERN_INFO. However the trace code also calls print_section() to hexdump the head of a free object. This is hard coded to use KERN_ERR, meaning the console is deluged with trace messages even if we've asked for quiet. Fix this the obvious way but adding a level parameter to print_section(), allowing calls from the trace code to use the same trace level as other trace messages. Link: http://lkml.kernel.org/r/20170113154850.518-1-daniel.thompson@linaro.org Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> Acked-by: Christoph Lameter <cl@linux.com> Acked-by: David Rientjes <rientjes@google.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/anubis.c')
0 files changed, 0 insertions, 0 deletions