WARNING: suspicious RCU usage in modeset_lock

Tetsuo Handa penguin-kernel at i-love.sakura.ne.jp
Sat Dec 19 01:00:02 UTC 2020


On Wed, Dec 16, 2020 at 5:16 PM Paul E. McKenney <paulmck at kernel.org> 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) ?


More information about the dri-devel mailing list