Re: Would you help to tell why async printk solution was not taken to upstream kernel ?

From: Qixuan.Wu
Date: Mon Mar 05 2018 - 01:57:28 EST


Hi Steve,

On Sun, 04 Mar 2018 23:43:23 +0800
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> Yes, people keep bringing up this scenario.
> It would require a single burst of printks to all CPUs. And then no
> more printks after that. The last one will end up printing the entire
> buffer out the slow console. The thing is, this is a bounded time, and
> no printk will print more than one full buffer worth.

> If this is a worry, then set the timeouts for the lockup detection to
> be longer than the time it takes to print one full buffer with the
> slowest console.

Thanks for your information and suggestion. We will think of backport
the code as per the workload, or recently, maybe we will think of disable
ttyS0 console just for the printk.

Thanks & Regards
Qixuan