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


Groups > linux.kernel > #1561211 > unrolled thread

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

Started byDavid Rientjes <rientjes@google.com>
First post2017-01-18 02:50 +0100
Last post2017-01-18 02:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#1561211 — Re: [PATCH] slub: Trace free objects at KERN_INFO

FromDavid Rientjes <rientjes@google.com>
Date2017-01-18 02:50 +0100
SubjectRe: [PATCH] slub: Trace free objects at KERN_INFO
Message-ID<t0NxU-67U-13@gated-at.bofh.it>
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>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web