Re: [PATCH v5 0/2] printk: Console owner and waiter logic cleanup
From: Sergey Senozhatsky
Date: Thu Jan 11 2018 - 02:36:31 EST
Hi Mathieu,
On (01/10/18 18:40), Mathieu Desnoyers wrote:
[..]
>
> There appears to be two problems at hand. One is making sure a console
> buffer owner only flushes a bounded amount of data.
which, realistically, has quite little to do with the "and thus it
fixes the lockups". logbuf size is mutable, the number of consoles we
need to sequentially push the data to is mutable, the watchdog threshold
is mutable... if combination of first two mutable things produces the
result which makes the check based on the third mutable thing happy,
then it's just an accident. my 5 cents.
-ss