回复: [PATCH] ipc/sem.c: Convert kfree_rcu() to call_rcu() in freeary function

2020-12-30 Thread Zhang, Qiang
发件人: Paul E. McKenney 发送时间: 2020年12月31日 0:19 收件人: Zhang, Qiang 抄送: a...@linux-foundation.org; manf...@colorfullife.com; gustavo...@kernel.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH] ipc/sem.c: Convert kfree_rcu() to call_rcu() in freeary function

Re: [PATCH] ipc/sem.c: Convert kfree_rcu() to call_rcu() in freeary function

2020-12-30 Thread Paul E. McKenney
On Wed, Dec 30, 2020 at 08:00:38PM +0800, qiang.zh...@windriver.com wrote: > From: Zqiang > > Due to freeary function is called with spinlock be held, > the synchronize_rcu function may be called in kfree_rcu > function, the schedule may be happen in spinlock critical > region, need to replace

[PATCH] ipc/sem.c: Convert kfree_rcu() to call_rcu() in freeary function

2020-12-30 Thread qiang . zhang
From: Zqiang Due to freeary function is called with spinlock be held, the synchronize_rcu function may be called in kfree_rcu function, the schedule may be happen in spinlock critical region, need to replace kfree_rcu() with call_rcu(). Fixes: 693a8b6eecce ("ipc,rcu: Convert call_rcu(free_un)