public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RCU recursion? (code inspection)
@ 2015-05-01 19:18 Rik van Riel
  2015-05-01 19:41 ` Paul E. McKenney
  0 siblings, 1 reply; 3+ messages in thread
From: Rik van Riel @ 2015-05-01 19:18 UTC (permalink / raw)
  To: Paul E. McKenney, Linux kernel Mailing List

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.

-- 
All rights reversed

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-01 20:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-01 19:18 RCU recursion? (code inspection) Rik van Riel
2015-05-01 19:41 ` Paul E. McKenney
2015-05-01 20:10   ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox