Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

From: Peter Zijlstra
Date: Fri Jun 28 2019 - 09:55:37 EST


On Thu, Jun 27, 2019 at 11:41:07AM -0700, Paul E. McKenney wrote:
> Or just don't do the wakeup at all, if it comes to that. I don't know
> of any way to determine whether rcu_read_unlock() is being called from
> the scheduler, but it has been some time since I asked Peter Zijlstra
> about that.

There (still) is no 'in-scheduler' state.