summaryrefslogtreecommitdiff
path: root/security/integrity/digsig.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-06-28 07:38:53 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-29 15:39:42 (GMT)
commit084681d14e429cb6192262ac7437f00e2c02f26a (patch)
tree60ef064def42a8b077cf1caaf465bc4029bbf360 /security/integrity/digsig.c
parent116e90b23f74d303e8d607c7a7d54f60f14ab9f2 (diff)
downloadlinux-fsl-qoriq-084681d14e429cb6192262ac7437f00e2c02f26a.tar.xz
printk: flush continuation lines immediately to console
Continuation lines are buffered internally, intended to merge the chunked printk()s into a single record, and to isolate potentially racy continuation users from usual terminated line users. This though, has the effect that partial lines are not printed to the console in the moment they are emitted. In case the kernel crashes in the meantime, the potentially interesting printed information would never reach the consoles. Here we share the continuation buffer with the console copy logic, and partial lines are always immediately flushed to the available consoles. They are still buffered internally to improve the readability and integrity of the messages and minimize the amount of needed record headers to store. Signed-off-by: Kay Sievers <kay@vrfy.org> Tested-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/integrity/digsig.c')
0 files changed, 0 insertions, 0 deletions