]> 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)
commit06eda161e11d58f51900bd40c8d191f217ca01f7
treed9ce28fbeb0a3c4baf5d1fcc75e6e0584e18fcc9
parent0423dd2baf5a0a4c446475270469d4b7f3b2f5de
Revert "printk: make reading the kernel log flush pending lines"

This reverts commit 4d535c843836a0ad433f5e54861ddd0136b1cbb5.

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