Re: [PATCH 5.15-rt] printk: ignore that console preempted by irq/softirq.
From: John Ogness
Date: Sun May 26 2024 - 13:51:35 EST
On 2024-05-23, <xu.xin16@xxxxxxxxxx> wrote:
> From: xu xin <xu.xin16@xxxxxxxxxx>
>
> When we're in the unpreemptible context on the same cpu with which the
> thread of console locates on, we should ignore this console for
> pr_flush, because it's a vain and always lead to timeout until the console
> thread get cpu resource.
>
> Fixes: e65be5f4dc3ed("printk: Update John Ogness' printk series")
> Signed-off-by: xu xin <xu.xin16@xxxxxxxxxx>
> Cc: Zhang Yunkai <zhang.yunkai@xxxxxxxxxx>
Reviewed-by: John Ogness <john.ogness@xxxxxxxxxxxxx>