Re: [PATCH RFC 6/8] rcu: Add back the Startedleaf tracepoint

2018-05-16 Thread Joel Fernandes
On Wed, May 16, 2018 at 08:48:29AM -0700, Paul E. McKenney wrote: > On Tue, May 15, 2018 at 04:04:30PM -0700, Joel Fernandes wrote: > > On Mon, May 14, 2018 at 08:46:03PM -0700, Paul E. McKenney wrote: > > > On Mon, May 14, 2018 at 05:57:09PM -0700, Joel Fernandes wrote: > > > > On Mon, May 14,

Re: [PATCH RFC 6/8] rcu: Add back the Startedleaf tracepoint

2018-05-16 Thread Joel Fernandes
On Wed, May 16, 2018 at 08:48:29AM -0700, Paul E. McKenney wrote: > On Tue, May 15, 2018 at 04:04:30PM -0700, Joel Fernandes wrote: > > On Mon, May 14, 2018 at 08:46:03PM -0700, Paul E. McKenney wrote: > > > On Mon, May 14, 2018 at 05:57:09PM -0700, Joel Fernandes wrote: > > > > On Mon, May 14,

Re: [PATCH RFC 6/8] rcu: Add back the Startedleaf tracepoint

2018-05-16 Thread Paul E. McKenney
On Tue, May 15, 2018 at 04:04:30PM -0700, Joel Fernandes wrote: > On Mon, May 14, 2018 at 08:46:03PM -0700, Paul E. McKenney wrote: > > On Mon, May 14, 2018 at 05:57:09PM -0700, Joel Fernandes wrote: > > > On Mon, May 14, 2018 at 11:38:23AM -0700, Paul E. McKenney wrote: > > > > On Sun, May 13,

Re: [PATCH RFC 6/8] rcu: Add back the Startedleaf tracepoint

2018-05-16 Thread Paul E. McKenney
On Tue, May 15, 2018 at 04:04:30PM -0700, Joel Fernandes wrote: > On Mon, May 14, 2018 at 08:46:03PM -0700, Paul E. McKenney wrote: > > On Mon, May 14, 2018 at 05:57:09PM -0700, Joel Fernandes wrote: > > > On Mon, May 14, 2018 at 11:38:23AM -0700, Paul E. McKenney wrote: > > > > On Sun, May 13,

Re: [PATCH RFC 6/8] rcu: Add back the Startedleaf tracepoint

2018-05-15 Thread Joel Fernandes
On Mon, May 14, 2018 at 08:46:03PM -0700, Paul E. McKenney wrote: > On Mon, May 14, 2018 at 05:57:09PM -0700, Joel Fernandes wrote: > > On Mon, May 14, 2018 at 11:38:23AM -0700, Paul E. McKenney wrote: > > > On Sun, May 13, 2018 at 08:15:39PM -0700, Joel Fernandes (Google) wrote: > > > > In recent

Re: [PATCH RFC 6/8] rcu: Add back the Startedleaf tracepoint

2018-05-15 Thread Joel Fernandes
On Mon, May 14, 2018 at 08:46:03PM -0700, Paul E. McKenney wrote: > On Mon, May 14, 2018 at 05:57:09PM -0700, Joel Fernandes wrote: > > On Mon, May 14, 2018 at 11:38:23AM -0700, Paul E. McKenney wrote: > > > On Sun, May 13, 2018 at 08:15:39PM -0700, Joel Fernandes (Google) wrote: > > > > In recent

Re: [PATCH RFC 6/8] rcu: Add back the Startedleaf tracepoint

2018-05-14 Thread Paul E. McKenney
On Mon, May 14, 2018 at 05:57:09PM -0700, Joel Fernandes wrote: > On Mon, May 14, 2018 at 11:38:23AM -0700, Paul E. McKenney wrote: > > On Sun, May 13, 2018 at 08:15:39PM -0700, Joel Fernandes (Google) wrote: > > > In recent discussion [1], the check for whether a leaf believes RCU is > > > not

Re: [PATCH RFC 6/8] rcu: Add back the Startedleaf tracepoint

2018-05-14 Thread Paul E. McKenney
On Mon, May 14, 2018 at 05:57:09PM -0700, Joel Fernandes wrote: > On Mon, May 14, 2018 at 11:38:23AM -0700, Paul E. McKenney wrote: > > On Sun, May 13, 2018 at 08:15:39PM -0700, Joel Fernandes (Google) wrote: > > > In recent discussion [1], the check for whether a leaf believes RCU is > > > not

Re: [PATCH RFC 6/8] rcu: Add back the Startedleaf tracepoint

2018-05-14 Thread Joel Fernandes
On Mon, May 14, 2018 at 11:38:23AM -0700, Paul E. McKenney wrote: > On Sun, May 13, 2018 at 08:15:39PM -0700, Joel Fernandes (Google) wrote: > > In recent discussion [1], the check for whether a leaf believes RCU is > > not idle, is being added back to funnel locking code, to avoid more > >

Re: [PATCH RFC 6/8] rcu: Add back the Startedleaf tracepoint

2018-05-14 Thread Joel Fernandes
On Mon, May 14, 2018 at 11:38:23AM -0700, Paul E. McKenney wrote: > On Sun, May 13, 2018 at 08:15:39PM -0700, Joel Fernandes (Google) wrote: > > In recent discussion [1], the check for whether a leaf believes RCU is > > not idle, is being added back to funnel locking code, to avoid more > >

Re: [PATCH RFC 6/8] rcu: Add back the Startedleaf tracepoint

2018-05-14 Thread Paul E. McKenney
On Sun, May 13, 2018 at 08:15:39PM -0700, Joel Fernandes (Google) wrote: > In recent discussion [1], the check for whether a leaf believes RCU is > not idle, is being added back to funnel locking code, to avoid more > locking. In this we are marking the leaf node for a future grace-period > and

Re: [PATCH RFC 6/8] rcu: Add back the Startedleaf tracepoint

2018-05-14 Thread Paul E. McKenney
On Sun, May 13, 2018 at 08:15:39PM -0700, Joel Fernandes (Google) wrote: > In recent discussion [1], the check for whether a leaf believes RCU is > not idle, is being added back to funnel locking code, to avoid more > locking. In this we are marking the leaf node for a future grace-period > and

[PATCH RFC 6/8] rcu: Add back the Startedleaf tracepoint

2018-05-13 Thread Joel Fernandes (Google)
In recent discussion [1], the check for whether a leaf believes RCU is not idle, is being added back to funnel locking code, to avoid more locking. In this we are marking the leaf node for a future grace-period and bailing out since a GP is currently in progress. However the tracepoint is missing.

[PATCH RFC 6/8] rcu: Add back the Startedleaf tracepoint

2018-05-13 Thread Joel Fernandes (Google)
In recent discussion [1], the check for whether a leaf believes RCU is not idle, is being added back to funnel locking code, to avoid more locking. In this we are marking the leaf node for a future grace-period and bailing out since a GP is currently in progress. However the tracepoint is missing.