Re: [PATCH -rcu/dev] Please squash: fixup! rcu/tree: Add basic support for kfree_rcu() batching

2019-08-17 Thread Paul E. McKenney
On Sat, Aug 17, 2019 at 12:43:08AM -0400, Joel Fernandes wrote: > On Fri, Aug 16, 2019 at 09:38:54PM -0700, Paul Walmsley wrote: > > On Sat, 17 Aug 2019, Joel Fernandes (Google) wrote: > > > > > xchg() on a bool is causing issues on riscv and arm32. > > > > Indeed, it seems best not to use

Re: [PATCH -rcu/dev] Please squash: fixup! rcu/tree: Add basic support for kfree_rcu() batching

2019-08-16 Thread Joel Fernandes
On Fri, Aug 16, 2019 at 09:38:54PM -0700, Paul Walmsley wrote: > On Sat, 17 Aug 2019, Joel Fernandes (Google) wrote: > > > xchg() on a bool is causing issues on riscv and arm32. > > Indeed, it seems best not to use xchg() on any type that's not 32 bits > long or that's not the CPU's native word

Re: [PATCH -rcu/dev] Please squash: fixup! rcu/tree: Add basic support for kfree_rcu() batching

2019-08-16 Thread Paul Walmsley
On Sat, 17 Aug 2019, Joel Fernandes (Google) wrote: > xchg() on a bool is causing issues on riscv and arm32. Indeed, it seems best not to use xchg() on any type that's not 32 bits long or that's not the CPU's native word size. Probably we should update the documentation. > Please squash this

[PATCH -rcu/dev] Please squash: fixup! rcu/tree: Add basic support for kfree_rcu() batching

2019-08-16 Thread Joel Fernandes (Google)
xchg() on a bool is causing issues on riscv and arm32. Please squash this into the -rcu dev branch to resolve the issue. Please squash this fix. Fixes: -rcu dev commit 3cbd3aa7d9c7bdf ("rcu/tree: Add basic support for kfree_rcu() batching") Signed-off-by: Joel Fernandes (Google) ---