Skip to content

printk: Several fixes of cont buffer and console handling

Petr Mladek lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4printk: Prepeparation for fake cont bufferskernel/printk/printk.c+50 -400 replies
2/4printk: Do not block cont buffer by partially flushed lineskernel/printk/printk.c+49 -740 replies
3/4printk: Flush the cont buffer after the other lineskernel/printk/printk.c+6 -60 replies
4/4printk: Correctly replay buffer log for a new consolekernel/printk/printk.c+52 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH POC 0/4] printk: Several fixes of cont buffer and console handling

This patch set is a working POC how to reduce mess with partially printed lines. In addition, it fixes some races when replying logbuffer on new consoles.

It can be applied on top of v12 of the async printk patches, see
https://lkml.kernel.org/g/[email protected]
But it is basically independent on the async printk stuff.

I wanted to see how my proposal could look like in practice
https://lkml.kernel.org/g/[email protected]

IMPORTANT: I have vacation next two weeks and will not have much access to the newtwork. I wanted to sent what I had before leaving. The last patch is not much tested. Feel free to take it, rework it yourself or just send your opinion.

Petr Mladek (4):
printk: Prepeparation for fake cont buffers
printk: Do not block cont buffer by partially flushed lines
printk: Flush the cont buffer after the other lines
printk: Correctly replay buffer log for a new console

 kernel/printk/printk.c | 235 +++++++++++++++++++++++++++----------------------
 1 file changed, 128 insertions(+), 107 deletions(-)
Signature · 1 line
1.8.5.6