]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "printk: make reading the kernel log flush pending lines"
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 14 Nov 2016 17:31:52 +0000 (09:31 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 14 Nov 2016 17:31:52 +0000 (09:31 -0800)
commitd781c3b32cd1a731e22c117851d5d066e4058271
treed9ce28fbeb0a3c4baf5d1fcc75e6e0584e18fcc9
parent69fc45926a538cc569de05080eb3bbeeb26ce21f
Revert "printk: make reading the kernel log flush pending lines"

This reverts commit 6b5d3f0745f186baf7179e69eeb3e46e5939d766.

It turns out that this flushes things much too aggressiverly, and causes
lines to break up when the system logger races with new continuation
lines being printed.

There's a pending patch to make printk() flushing much more
straightforward, but it's too invasive for 4.9, so in the meantime let's
just not make the system message logging flush continuation lines.
They'll be flushed by the final newline anyway.

Suggested-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/printk/printk.c