Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1561211

Re: [PATCH] slub: Trace free objects at KERN_INFO

From David Rientjes <rientjes@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH] slub: Trace free objects at KERN_INFO
Date 2017-01-18 02:50 +0100
Message-ID <t0NxU-67U-13@gated-at.bofh.it> (permalink)
References <sZch4-2CA-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 13 Jan 2017, Daniel Thompson wrote:

> 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.
> 
> Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>

Acked-by: David Rientjes <rientjes@google.com>

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] slub: Trace free objects at KERN_INFO David Rientjes <rientjes@google.com> - 2017-01-18 02:50 +0100

csiph-web