[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150501194102.GH5381@linux.vnet.ibm.com>
Date: Fri, 1 May 2015 12:41:02 -0700
From: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
To: Rik van Riel <riel@...hat.com>
Cc: Linux kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: RCU recursion? (code inspection)
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists