Re: [PATCH 2/3] locking/barriers: Kill lockless_dereference

2017-10-12 Thread Paul E. McKenney
On Thu, Oct 12, 2017 at 03:26:16PM +0100, Will Deacon wrote: > lockless_dereference is a nice idea, but its gained little traction in > kernel code since it's introduction three years ago. This is partly > because it's a pain to type, but also because using READ_ONCE instead > will work correctly o

[PATCH 2/3] locking/barriers: Kill lockless_dereference

2017-10-12 Thread Will Deacon
lockless_dereference is a nice idea, but its gained little traction in kernel code since it's introduction three years ago. This is partly because it's a pain to type, but also because using READ_ONCE instead will work correctly on all architectures apart from Alpha, which is a fully supported but