]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
kmsg: merge continuation records while printing
authorKay Sievers <kay@vrfy.org>
Mon, 9 Jul 2012 19:15:42 +0000 (12:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jul 2012 19:15:42 +0000 (12:15 -0700)
commit5becfb1df5ac8e491338e64b1029685ccad4b39c
tree10f6ca3f08493881d02a18248f726bd621f3e7a6
parenteb02dac93708f581c99858a19162af8ca2b6bfcb
kmsg: merge continuation records while printing

In (the unlikely) case our continuation merge buffer is busy, we unfortunately
can not merge further continuation printk()s into a single record and have to
store them separately, which leads to split-up output of these lines when they
are printed.

Add some flags about newlines and prefix existence to these records and try to
reconstruct the full line again, when the separated records are printed.

Reported-By: Michael Neuling <mikey@neuling.org>
Cc: Dave Jones <davej@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Tested-By: Michael Neuling <mikey@neuling.org>
Signed-off-by: Kay Sievers <kay@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/printk.c