Re: [PATCH 00/18] Allow architectures to override __READ_ONCE()

2020-07-13 Thread Peter Zijlstra
On Fri, Jul 10, 2020 at 05:51:44PM +0100, Will Deacon wrote: > SeongJae Park (1): > Documentation/barriers/kokr: Remove references to > [smp_]read_barrier_depends() > > Will Deacon (18): > tools: bpf: Use local copy of headers including uapi/linux/filter.h > compiler.h: Split

[PATCH 00/18] Allow architectures to override __READ_ONCE()

2020-07-10 Thread Will Deacon
Hi all, This is version three of the patches I previously posted here: v1: https://lore.kernel.org/lkml/20191108170120.22331-1-w...@kernel.org/ v2: https://lore.kernel.org/r/20200630173734.14057-1-w...@kernel.org Changes since v2 include: * Actually add the barrier in READ_ONCE() for

Re: [PATCH 00/18] Allow architectures to override __READ_ONCE()

2020-07-01 Thread Josh Triplett
On Tue, Jun 30, 2020 at 06:37:16PM +0100, Will Deacon wrote: > The patches allow architectures to provide their own implementation of > __READ_ONCE(). This serves two main purposes: > > 1. It finally allows us to remove [smp_]read_barrier_depends() from the > Linux memory model and make it

[PATCH 00/18] Allow architectures to override __READ_ONCE()

2020-06-30 Thread Will Deacon
Hi everyone, This is the long-awaited version two of the patches I previously posted in November last year: https://lore.kernel.org/lkml/20191108170120.22331-1-w...@kernel.org/ I ended up parking the series while the READ_ONCE() implementation was being overhauled, but with that merged during