Re: [PATCH 0/2] tools/memory-model: remove ACCESS_ONCE()

From: Andrea Parri
Date: Thu Jun 28 2018 - 08:38:58 EST


On Thu, Jun 28, 2018 at 01:33:45PM +0100, Mark Rutland wrote:
> Since commit:
>
> b899a850431e2dd0 ("compiler.h: Remove ACCESS_ONCE()")
>
> ... there has been no definition of ACCESS_ONCE() in the kernel tree,
> and it has been necessary to use READ_ONCE() or WRITE_ONCE() instead.
>
> However, since then the kernel memory model was added to the Linux tree,
> sporting new instances of ACCESS_ONCE() in examples and in the memory
> model itself.
>
> These patches remove the new instances of ACCESS_ONCE() for consistency
> with the contemporary codebase.
>
> Thanks,
> Mark.
>
> Mark Rutland (2):
> tools/memory-model: remove ACCESS_ONCE() from recipes
> tools/memory-model: remove ACCESS_ONCE() from model

For the series:

Acked-by: Andrea Parri <andrea.parri@xxxxxxxxxxxxxxxxxxxx>

Cheers,
Andrea


>
> tools/memory-model/Documentation/recipes.txt | 4 ++--
> tools/memory-model/linux-kernel.bell | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> --
> 2.11.0
>