[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87imgnndbc.fsf_-_@vostro.fn.ogness.net>
Date: Sat, 23 May 2020 12:41:27 +0200
From: John Ogness <john.ogness@...utronix.de>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: <wang.yi59@....com.cn>, <pmladek@...e.com>,
<sergey.senozhatsky@...il.com>, <rostedt@...dmis.org>,
<linux-kernel@...r.kernel.org>, <xue.zhihong@....com.cn>,
<jiang.xuexin@....com.cn>, <wang.yong12@....com.cn>,
linux-rt-users@...r.kernel.org
Subject: Re: [RT PATCH] Fixed: line break of pr_cont not take effect
Thank you. I added Sebastian Siewior and linux-rt-users to the addresses
since this is a patch against PREEMPT_RT.
On 2020-05-23, <wang.yi59@....com.cn> wrote:
> Line break of pr_cont not take effect.
> Use several pr_cont to print continuous paragraph, it is expected to
> have line break when line ends up with '\n', however the paragraph
> does not have line break
> -printk_kthread_func will not print info before log_store insert msg
> into printk_rb, and pr_cont calls cont_add to keep data in buffer.
> cont_add only when the following conditions are met insert msg to
> printk_rb
> 1.cpu != c->cpu_owner || !(flags & LOG_CONT)
> 2.c->len + len > sizeof(c->buf)
>
> Signed-off-by: 汪勇10269566 <wang.yong12@....com.cn>
Acked-by: John Ogness <john.ogness@...utronix.de>
@Sebastian: The original patch submission is here[0].
Thanks,
John Ogness
[0] https://lkml.kernel.org/r/1590025064-14433-1-git-send-email-wang.yi59@zte.com.cn
Powered by blists - more mailing lists