Re: Would you help to tell why async printk solution was not taken to upstream kernel ?
From: Sergey Senozhatsky
Date: Mon Mar 05 2018 - 21:53:59 EST
On (03/05/18 21:47), Steven Rostedt wrote:
[..]
> At this moment all watchdogs are working fine. And the continuing will
> be done as if it was the first printk. No lockup eminent.
>
[..]
> So basically, the CPU is just printing what that CPU is printing. It
> only becomes an issue if the system has an issue (one CPU spamming
> printk). Which is another bug.
>
[..]
> Which is another issue as well. But this is due to issues with printk
> having issues, and is a different category of bug.
>
> #2 and #3 are more recursive bugs and not a "printk locks up due to
> other CPUs" kind of bug.
Yes. My point was that "CPU can print one full buffer max" is not
guaranteed and not exactly true. There are ways for CPUs to break
that O(logbuf) boundary.
-ss