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