lkml.org 
[lkml]   [2018]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/2] tools/memory-model: remove ACCESS_ONCE()
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@amarulasolutions.com>

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
>

\
 
 \ /
  Last update: 2018-06-28 14:39    [W:0.086 / U:0.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site