[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <07787055-6aaf-3abb-a9fd-b8dd4180ebe8@huawei.com>
Date: Fri, 18 Mar 2022 14:47:14 +0800
From: Zhang Qiao <zhangqiao22@...wei.com>
To: Steven Rostedt <rostedt@...dmis.org>
CC: <paulmck@...nel.org>, <josh@...htriplett.org>,
<mathieu.desnoyers@...icios.com>, <jiangshanlai@...il.com>,
<joel@...lfernandes.org>, <rcu@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] rcu: Use printk_deferred when holding rtp->cbs_gbl_lock
在 2022/3/17 23:49, Steven Rostedt 写道:
> On Thu, 17 Mar 2022 16:47:26 +0800
> Zhang Qiao <zhangqiao22@...wei.com> wrote:
>
>> This patch tries to avoid this issue by using printk_deferred().
>
> Isn't the new printk work suppose to resolve this?
> I think the printk_deferred() defer printing via a irq_work_queue and will
not print immediately when holding the cbs_gbl_lock lock.
> If so, can we have another way to quiet these splats if that work is not in
> yet?
> Or we can change type cbs_gbl_lock to spinlock_t for fix it.
thanks.
Zhang Qiao.
> -- Steve
> .
>
Powered by blists - more mailing lists