Messages in this thread | | | Date | Thu, 10 May 2012 11:49:44 -0700 | Subject | Re: [PATCH RESEND 1/3] printk: convert byte-buffer to variable-length record buffer | From | Tony Luck <> |
| |
On Thu, May 10, 2012 at 9:47 AM, Linus Torvalds <torvalds@linux-foundation.org> wrote: > This is often useful for having loops that print out individual > entries all on the same line - print all of them without the '\n'.
Though it is a pain when people do this and the output from each iteration of the loop gets interleaved with other printk() output. Perhaps it is OK to do multiple printk() calls in initialization code where it kernel is mostly single threaded. But it should be avoided in "oh dear, something bad happened" bits of code (in case the badness isn't localized and all the other cpus are spitting out partial messages too).
-Tony -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |