Re: [PATCH] rcu: Prevent evaluation of rcu_assign_pointer()

2019-05-24 Thread Andrea Parri
On Fri, May 24, 2019 at 12:45:09PM -0400, Joel Fernandes wrote: > On Fri, May 24, 2019 at 12:36:37PM +0200, Andrea Parri wrote: > > Quoting Paul [1]: > > > > "Given that a quick (and perhaps error-prone) search of the uses > > of rcu_assign_pointer() in v5.1 didn't find a single use of the > >

Re: [PATCH] rcu: Prevent evaluation of rcu_assign_pointer()

2019-05-24 Thread Andrea Parri
On Fri, May 24, 2019 at 06:29:11AM -0700, Paul E. McKenney wrote: > On Fri, May 24, 2019 at 12:36:37PM +0200, Andrea Parri wrote: > > Quoting Paul [1]: > > > > "Given that a quick (and perhaps error-prone) search of the uses > > of rcu_assign_pointer() in v5.1 didn't find a single use of the >

Re: [PATCH] rcu: Prevent evaluation of rcu_assign_pointer()

2019-05-24 Thread Joel Fernandes
On Fri, May 24, 2019 at 12:36:37PM +0200, Andrea Parri wrote: > Quoting Paul [1]: > > "Given that a quick (and perhaps error-prone) search of the uses > of rcu_assign_pointer() in v5.1 didn't find a single use of the > return value, let's please instead change the documentation and > implem

Re: [PATCH] rcu: Prevent evaluation of rcu_assign_pointer()

2019-05-24 Thread Paul E. McKenney
On Fri, May 24, 2019 at 12:36:37PM +0200, Andrea Parri wrote: > Quoting Paul [1]: > > "Given that a quick (and perhaps error-prone) search of the uses > of rcu_assign_pointer() in v5.1 didn't find a single use of the > return value, let's please instead change the documentation and > implem

[PATCH] rcu: Prevent evaluation of rcu_assign_pointer()

2019-05-24 Thread Andrea Parri
Quoting Paul [1]: "Given that a quick (and perhaps error-prone) search of the uses of rcu_assign_pointer() in v5.1 didn't find a single use of the return value, let's please instead change the documentation and implementation to eliminate the return value." [1] https://lkml.kernel.org/r/20