Re: [PATCH] rcu: Use wrapper for lockdep asserts

2018-01-17 Thread Paul E. McKenney
On Wed, Jan 17, 2018 at 04:41:43PM -0800, Matthew Wilcox wrote: > On Wed, Jan 17, 2018 at 03:29:13PM -0800, Paul E. McKenney wrote: > > On Wed, Jan 17, 2018 at 06:24:30AM -0800, Matthew Wilcox wrote: > > > > > > From: Matthew Wilcox > > > > > > Commits c0b334c5bfa9 and

Re: [PATCH] rcu: Use wrapper for lockdep asserts

2018-01-17 Thread Paul E. McKenney
On Wed, Jan 17, 2018 at 04:41:43PM -0800, Matthew Wilcox wrote: > On Wed, Jan 17, 2018 at 03:29:13PM -0800, Paul E. McKenney wrote: > > On Wed, Jan 17, 2018 at 06:24:30AM -0800, Matthew Wilcox wrote: > > > > > > From: Matthew Wilcox > > > > > > Commits c0b334c5bfa9 and ea9b0c8a26a2 introduced

Re: [PATCH] rcu: Use wrapper for lockdep asserts

2018-01-17 Thread Matthew Wilcox
On Wed, Jan 17, 2018 at 03:29:13PM -0800, Paul E. McKenney wrote: > On Wed, Jan 17, 2018 at 06:24:30AM -0800, Matthew Wilcox wrote: > > > > From: Matthew Wilcox > > > > Commits c0b334c5bfa9 and ea9b0c8a26a2 introduced new sparse warnings > > by accessing rcu_node->lock

Re: [PATCH] rcu: Use wrapper for lockdep asserts

2018-01-17 Thread Matthew Wilcox
On Wed, Jan 17, 2018 at 03:29:13PM -0800, Paul E. McKenney wrote: > On Wed, Jan 17, 2018 at 06:24:30AM -0800, Matthew Wilcox wrote: > > > > From: Matthew Wilcox > > > > Commits c0b334c5bfa9 and ea9b0c8a26a2 introduced new sparse warnings > > by accessing rcu_node->lock directly and ignoring the

Re: [PATCH] rcu: Use wrapper for lockdep asserts

2018-01-17 Thread Paul E. McKenney
On Wed, Jan 17, 2018 at 06:24:30AM -0800, Matthew Wilcox wrote: > > From: Matthew Wilcox > > Commits c0b334c5bfa9 and ea9b0c8a26a2 introduced new sparse warnings > by accessing rcu_node->lock directly and ignoring the __private > marker. Introduce a new wrapper and use

Re: [PATCH] rcu: Use wrapper for lockdep asserts

2018-01-17 Thread Paul E. McKenney
On Wed, Jan 17, 2018 at 06:24:30AM -0800, Matthew Wilcox wrote: > > From: Matthew Wilcox > > Commits c0b334c5bfa9 and ea9b0c8a26a2 introduced new sparse warnings > by accessing rcu_node->lock directly and ignoring the __private > marker. Introduce a new wrapper and use it. Also fix a similar

[PATCH] rcu: Use wrapper for lockdep asserts

2018-01-17 Thread Matthew Wilcox
From: Matthew Wilcox Commits c0b334c5bfa9 and ea9b0c8a26a2 introduced new sparse warnings by accessing rcu_node->lock directly and ignoring the __private marker. Introduce a new wrapper and use it. Also fix a similar problem in srcutree.c introduced by a3883df3935e.

[PATCH] rcu: Use wrapper for lockdep asserts

2018-01-17 Thread Matthew Wilcox
From: Matthew Wilcox Commits c0b334c5bfa9 and ea9b0c8a26a2 introduced new sparse warnings by accessing rcu_node->lock directly and ignoring the __private marker. Introduce a new wrapper and use it. Also fix a similar problem in srcutree.c introduced by a3883df3935e. Signed-off-by: Matthew