Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1444447

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

From Petr Mladek <pmladek@suse.com>
Newsgroups linux.kernel
Subject [PATCH POC 0/4] printk: Several fixes of cont buffer and console handling
Date 2016-07-15 19:00 +0200
Message-ID <rVeCZ-QX-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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/20160513131848.2087-1-sergey.senozhatsky@gmail.com
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/20160712162809.GE32373@pathway.suse.cz


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(-)

-- 
1.8.5.6

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH POC 0/4] printk: Several fixes of cont buffer and console handling Petr Mladek <pmladek@suse.com> - 2016-07-15 19:00 +0200
  [PATCH POC 3/4] printk: Flush the cont buffer after the other lines Petr Mladek <pmladek@suse.com> - 2016-07-15 19:00 +0200
  [PATCH POC 1/4] printk: Prepeparation for fake cont buffers Petr Mladek <pmladek@suse.com> - 2016-07-15 19:00 +0200
    Re: [PATCH POC 1/4] printk: Prepeparation for fake cont buffers kbuild test robot <lkp@intel.com> - 2016-07-15 20:30 +0200
  [PATCH POC 4/4] printk: Correctly replay buffer log for a new console Petr Mladek <pmladek@suse.com> - 2016-07-15 19:00 +0200
    Re: [PATCH POC 4/4] printk: Correctly replay buffer log for a new  console kbuild test robot <lkp@intel.com> - 2016-07-15 20:30 +0200
  [PATCH POC 2/4] printk: Do not block cont buffer by partially flushed lines Petr Mladek <pmladek@suse.com> - 2016-07-15 19:10 +0200
    Re: [PATCH POC 2/4] printk: Do not block cont buffer by partially  flushed lines kbuild test robot <lkp@intel.com> - 2016-07-15 20:30 +0200
    Re: [PATCH POC 2/4] printk: Do not block cont buffer by partially  flushed lines kbuild test robot <lkp@intel.com> - 2016-07-16 00:10 +0200

csiph-web