[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1943.1479303724@warthog.procyon.org.uk>
Date: Wed, 16 Nov 2016 13:42:04 +0000
From: David Howells <dhowells@...hat.com>
To: Mark Rutland <mark.rutland@....com>
Cc: dhowells@...hat.com, linux-kernel@...r.kernel.org,
Jonathan Corbet <corbet@....net>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
linux-doc@...r.kernel.org
Subject: Re: [PATCH] Documentation: circular-buffers: use READ_ONCE()
Mark Rutland <mark.rutland@....com> wrote:
> While the {READ,WRITE}_ONCE() macros should be used in preference to
> ACCESS_ONCE(), the circular buffer documentation uses the latter
> exclusively.
>
> To point people in the right direction, and as a step towards the
> eventual removal of ACCESS_ONCE(), update the documentation to use
> READ_ONCE(), as ACCESS_ONCE() is only used in a reader context in the
> circular buffer documentation.
>
> Signed-off-by: Mark Rutland <mark.rutland@....com>
> Cc: Jonathan Corbet <corbet@....net>
> Cc: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
> Cc: linux-doc@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org
Acked-by: David Howells <dhowells@...hat.com>
Powered by blists - more mailing lists