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>