Re: [RFC 2/2] rcutree: Add checks for dynticks counters in rcu_is_cpu_rrupt_from_idle

2019-03-25 Thread Joel Fernandes
On Mon, Mar 25, 2019 at 08:53:41AM -0700, Paul E. McKenney wrote: > On Mon, Mar 25, 2019 at 09:36:46AM -0400, Joel Fernandes wrote: > > On Sun, Mar 24, 2019 at 04:43:51PM -0700, Paul E. McKenney wrote: > > > On Fri, Mar 22, 2019 at 11:02:51PM -0400, Joel Fernandes wrote: > > > > On Fri, Mar 22,

Re: [RFC 2/2] rcutree: Add checks for dynticks counters in rcu_is_cpu_rrupt_from_idle

2019-03-25 Thread Paul E. McKenney
On Mon, Mar 25, 2019 at 09:36:46AM -0400, Joel Fernandes wrote: > On Sun, Mar 24, 2019 at 04:43:51PM -0700, Paul E. McKenney wrote: > > On Fri, Mar 22, 2019 at 11:02:51PM -0400, Joel Fernandes wrote: > > > On Fri, Mar 22, 2019 at 09:29:39PM -0400, Joel Fernandes (Google) wrote: > > > > In the

Re: [RFC 2/2] rcutree: Add checks for dynticks counters in rcu_is_cpu_rrupt_from_idle

2019-03-25 Thread Joel Fernandes
On Sun, Mar 24, 2019 at 04:43:51PM -0700, Paul E. McKenney wrote: > On Fri, Mar 22, 2019 at 11:02:51PM -0400, Joel Fernandes wrote: > > On Fri, Mar 22, 2019 at 09:29:39PM -0400, Joel Fernandes (Google) wrote: > > > In the future we would like to combine the dynticks and dynticks_nesting > > >

Re: [RFC 2/2] rcutree: Add checks for dynticks counters in rcu_is_cpu_rrupt_from_idle

2019-03-24 Thread Paul E. McKenney
On Fri, Mar 22, 2019 at 11:02:51PM -0400, Joel Fernandes wrote: > On Fri, Mar 22, 2019 at 09:29:39PM -0400, Joel Fernandes (Google) wrote: > > In the future we would like to combine the dynticks and dynticks_nesting > > counters thus leading to simplifying the code. At the moment we cannot > > do

Re: [RFC 2/2] rcutree: Add checks for dynticks counters in rcu_is_cpu_rrupt_from_idle

2019-03-22 Thread Joel Fernandes
On Fri, Mar 22, 2019 at 09:29:39PM -0400, Joel Fernandes (Google) wrote: > In the future we would like to combine the dynticks and dynticks_nesting > counters thus leading to simplifying the code. At the moment we cannot > do that due to concerns about usermode upcalls appearing to RCU as half >

[RFC 2/2] rcutree: Add checks for dynticks counters in rcu_is_cpu_rrupt_from_idle

2019-03-22 Thread Joel Fernandes (Google)
In the future we would like to combine the dynticks and dynticks_nesting counters thus leading to simplifying the code. At the moment we cannot do that due to concerns about usermode upcalls appearing to RCU as half of an interrupt. Byungchul tried to do it in [1] but the "half-interrupt" concern