Re: [PATCH 5/5] ring-buffer: fix printk output

From: Andrew Morton
Date: Wed Apr 29 2009 - 01:23:20 EST


On Wed, 29 Apr 2009 00:48:19 -0400 Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> - printk_once(KERN_WARNING "Tracing recursion: depth[%d]:"
> + printk_once(KERN_WARNING "Tracing recursion: depth[%ld]:"

hrmph. I didn't know that printk_once() existed, and I should have
known. I wonder how many other people don't know.

Should it use unlikely()?
--
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/