]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitf5c9f9c72395c3291c2e35c905dedae2b98475a4
treed9ce28fbeb0a3c4baf5d1fcc75e6e0584e18fcc9
parentb15efc38626f20f3fc8b831b826b50740d90dab9
Revert "printk: make reading the kernel log flush pending lines"

This reverts commit bfd8d3f23b51018388be0411ccbc2d56277fe294.

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