From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934591AbcKPXTI (ORCPT ); Wed, 16 Nov 2016 18:19:08 -0500 Received: from tex.lwn.net ([70.33.254.29]:49651 "EHLO vena.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932212AbcKPXTG (ORCPT ); Wed, 16 Nov 2016 18:19:06 -0500 Date: Wed, 16 Nov 2016 16:18:56 -0700 From: Jonathan Corbet To: Mark Rutland Cc: linux-kernel@vger.kernel.org, David Howells , "Paul E. McKenney" , linux-doc@vger.kernel.org Subject: Re: [PATCH] Documentation: circular-buffers: use READ_ONCE() Message-ID: <20161116161856.66ce7994@lwn.net> In-Reply-To: <1479294769-12723-1-git-send-email-mark.rutland@arm.com> References: <1479294769-12723-1-git-send-email-mark.rutland@arm.com> Organization: LWN.net X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 16 Nov 2016 11:12:49 +0000 Mark Rutland 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. Applied to the docs tree, thanks. jon