Re: RCU recursion? (code inspection)

From: Paul E. McKenney
Date: Fri May 01 2015 - 15:41:19 EST


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 synchronize_sched_expedited()
>
> The code is sufficiently convoluted that I am unsure whether this
> recursion can actually happen in practice, but I also did not spot
> anything that would stop it.

Hmmm... Sounds like I should take a look!

Thanx, Paul

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/