Re: [PATCH v9 2/7] rcu/segcblist: Add counters to segcblist datastructure

2020-11-09 Thread Paul E. McKenney
On Fri, Nov 06, 2020 at 04:48:15PM -0800, Paul E. McKenney wrote: > On Fri, Nov 06, 2020 at 07:18:47PM -0500, Joel Fernandes wrote: > > On Fri, Nov 06, 2020 at 07:01:57PM -0500, Joel Fernandes wrote: > > > On Wed, Nov 04, 2020 at 09:01:33AM -0800, Paul E. McKenney wrote: > > > > > > > A casual

Re: [PATCH v9 2/7] rcu/segcblist: Add counters to segcblist datastructure

2020-11-06 Thread Paul E. McKenney
On Fri, Nov 06, 2020 at 07:18:47PM -0500, Joel Fernandes wrote: > On Fri, Nov 06, 2020 at 07:01:57PM -0500, Joel Fernandes wrote: > > On Wed, Nov 04, 2020 at 09:01:33AM -0800, Paul E. McKenney wrote: > > > > > A casual reader might be forgiven for being confused by the combination > > > of

Re: [PATCH v9 2/7] rcu/segcblist: Add counters to segcblist datastructure

2020-11-06 Thread Joel Fernandes
On Fri, Nov 06, 2020 at 07:01:57PM -0500, Joel Fernandes wrote: > On Wed, Nov 04, 2020 at 09:01:33AM -0800, Paul E. McKenney wrote: > > > A casual reader might be forgiven for being confused by the combination > > of "Return" in the above comment and the "void" function type below. > > So

Re: [PATCH v9 2/7] rcu/segcblist: Add counters to segcblist datastructure

2020-11-06 Thread Joel Fernandes
On Wed, Nov 04, 2020 at 09:01:33AM -0800, Paul E. McKenney wrote: > A casual reader might be forgiven for being confused by the combination > of "Return" in the above comment and the "void" function type below. > So shouldn't this comment be something like "Add the specified number > of callbacks

Re: [PATCH v9 2/7] rcu/segcblist: Add counters to segcblist datastructure

2020-11-04 Thread Paul E. McKenney
On Tue, Nov 03, 2020 at 09:25:58AM -0500, Joel Fernandes (Google) wrote: > Add counting of segment lengths of segmented callback list. > > This will be useful for a number of things such as knowing how big the > ready-to-execute segment have gotten. The immediate benefit is ability > to trace how

Re: [PATCH v9 2/7] rcu/segcblist: Add counters to segcblist datastructure

2020-11-04 Thread Neeraj Upadhyay
On 11/3/2020 7:55 PM, Joel Fernandes (Google) wrote: Add counting of segment lengths of segmented callback list. This will be useful for a number of things such as knowing how big the ready-to-execute segment have gotten. The immediate benefit is ability to trace how the callbacks in the

[PATCH v9 2/7] rcu/segcblist: Add counters to segcblist datastructure

2020-11-03 Thread Joel Fernandes (Google)
Add counting of segment lengths of segmented callback list. This will be useful for a number of things such as knowing how big the ready-to-execute segment have gotten. The immediate benefit is ability to trace how the callbacks in the segmented callback list change. Also this patch remove hacks