Re: RCU recursion? (code inspection)

2015-05-01 Thread Paul E. McKenney
On Fri, May 01, 2015 at 12:41:02PM -0700, Paul E. McKenney wrote: > On Fri, May 01, 2015 at 03:18:28PM -0400, Rik van Riel wrote: > > Hi Paul, > > > > While looking at synchronize_rcu(), I noticed that > > synchronize_rcu_expedited() calls synchronize_sched_expedited(), > > which can call synchron

Re: RCU recursion? (code inspection)

2015-05-01 Thread Paul E. McKenney
On Fri, May 01, 2015 at 03:18:28PM -0400, Rik van Riel wrote: > Hi Paul, > > While looking at synchronize_rcu(), I noticed that > synchronize_rcu_expedited() calls synchronize_sched_expedited(), > which can call synchronize_sched() when it is worried about > the counter wrapping, which can call sy

RCU recursion? (code inspection)

2015-05-01 Thread Rik van Riel
Hi Paul, While looking at synchronize_rcu(), I noticed that synchronize_rcu_expedited() calls synchronize_sched_expedited(), which can call synchronize_sched() when it is worried about the counter wrapping, which can call synchronize_sched_expedited() The code is sufficiently convoluted that I am