]> git.baikalelectronics.ru Git - kernel.git/commit
kmsg: make sure all messages reach a newly registered boot console
authorKay Sievers <kay@vrfy.org>
Fri, 6 Jul 2012 16:50:09 +0000 (09:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 16:50:09 +0000 (09:50 -0700)
commit9e86f35c6e8c05be07b4378b017df12d628aa1d0
treed8713cbaf2f7a0778f1bc58c2c499c742c4c21f5
parent7fc4ae3b729c80bbf13b57b3672513f678ce3241
kmsg: make sure all messages reach a newly registered boot console

We suppress printing kmsg records to the console, which are already printed
immediately while we have received their fragments.

Newly registered boot consoles print the entire kmsg buffer during
registration. Clear the console-suppress flag after we skipped the record
during its first storage, so any later print will see these records as usual.

Signed-off-by: Kay Sievers <kay@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/printk.c