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@xxxxxxxxxx> Acked-by: David Rientjes <rientjes@xxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>