Re: WARNING: suspicious RCU usage in modeset_lock
From: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Date: 2020-12-19 01:00:52
Also in:
dri-devel, lkml, rcu
From: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Date: 2020-12-19 01:00:52
Also in:
dri-devel, lkml, rcu
On Wed, Dec 16, 2020 at 5:16 PM Paul E. McKenney [off-list ref] wrote:
In my experience, lockdep will indeed complain if an interrupt handler returns while in an RCU read-side critical section.
Can't we add lock status checks into the beginning and the end of interrupt handler functions (e.g. whether "struct task_struct"->lockdep_depth did not change) ?