Re: [PATCH] Print sysrq-m messages with KERN_INFO priority
From: Dave Jones
Date: Sat Dec 30 2006 - 00:16:15 EST
On Fri, Dec 29, 2006 at 08:42:47PM -0800, Andrew Morton wrote:
> On Fri, 29 Dec 2006 22:24:53 -0500
> "Theodore Ts'o" <tytso@xxxxxxx> wrote:
> > Print messages resulting from sysrq-m with a KERN_INFO instead of the
> > default KERN_WARNING priority
> hm, I wonder why. If someone does sysrq-<whatever> then they presumably want
> to display the result? Tricky.
I looked at this and got even more puzzled.
__handle_sysrq temporarily sets the loglevel to 7 (KERN_DEBUG) for the
duration of the sysrq-<whatever> output.
Which is odd, as KERN_DEBUG stuff is usually hidden, yet the
printk's that lack loglevels still seem to end up onscreen.
Ted's patch also misses a few of the printk's in show_free_areas()
which seems inconsistent, or am I just confused?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/