lkml.org 
[lkml]   [2015]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRCU recursion? (code inspection)
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


\
 
 \ /
  Last update: 2015-05-01 21:41    [W:0.062 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site