Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp855189imm; Fri, 29 Jun 2018 07:29:57 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdfutkEspla0tjsVPm+J1a/acq25XwWhEr6NkNySzD/jDty3y5S3Hh+LOD8Cz3XauoPsliw X-Received: by 2002:a65:4b07:: with SMTP id r7-v6mr617723pgq.150.1530282597876; Fri, 29 Jun 2018 07:29:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530282597; cv=none; d=google.com; s=arc-20160816; b=eB+o4GOFcWnGmA5ukg6W+y1zB/lbxWOhNatSOepPuUtmY4H70qW9m26t+9Y3Y8LODX ZgiL06djOL5jd7C3J1QRWa7NE6C0K06Rs3yZwGK1TUz5U9jNsyRhzobOox/A6hZjuGgE UqAdgoO4kWZ0MR26z616+4PTSfrkdOp4NZtbXhQ1bLsL5ZM5K8O6ZYnlAYl3fcH5XWmY tLX1GQlZUjdnnRTH+GIORxqXeC59ynDR5nHwrRJnLSZFDZLVoXjc0NQKvXDpcvODu+Go uOQUgU4DimzYssC1w010Gss5MTRO1gKvFGz2li6YFiDMtPc1g1y3czNNscQwmwau+93g 545g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=isXUTOp4Dp8wrBR+xsp0+7aDeXX2IFBQizVPdMOlkPo=; b=c9YZAULfafimjqIKvTQzaVS76sthRfu9NM2pex4gE6HGJ07r+DEYTc3Itzqgyi+9/l VzJu2RuPfgHw03zn30YSORk7l9S/Mh/cAdcKUz29afKOtU2xXWyn3N5+i8OVkGo3E6NN rR3HOzUx8kY+jN5ZdPT+43ihAX6bJox8sIH97rXkPVtXmZ4XXuMvPMmapc+IA6giqlfK ooxIrSfFaDB5HqjMW2hOKdgNHrGeaytUB+kQqmtLUBpqHUtg8FyAry8RiGpHZCt3e4Fu fDGt7wKON9ZJB2YzMg3MHgU7kUNs8FqysPIEYCfl8s/avD/lj6sd39hnubUBMJAzjdFS ONJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=epGQR9XF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 79-v6si6775670pfs.40.2018.06.29.07.29.43; Fri, 29 Jun 2018 07:29:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=epGQR9XF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964855AbeF2Nn4 (ORCPT + 99 others); Fri, 29 Jun 2018 09:43:56 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:33436 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936614AbeF2Nny (ORCPT ); Fri, 29 Jun 2018 09:43:54 -0400 Received: by mail-wr0-f194.google.com with SMTP id k7-v6so5412380wrq.0 for ; Fri, 29 Jun 2018 06:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=isXUTOp4Dp8wrBR+xsp0+7aDeXX2IFBQizVPdMOlkPo=; b=epGQR9XFLv51y+NnMwYGi8ARS2ManZDVrzIXW3GnbbInJ2cuHLfWjuexLJ68Hs8IMi m1fY6qwEt0BN6KDmzFaGihwEAlTuf+dQaSj2INqK/07R6Dm6MqwCO0YdocL4/fGI86WR 5VKwcDKpwubjIFHgTWffRgp2H1WH3WfaVkNac= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=isXUTOp4Dp8wrBR+xsp0+7aDeXX2IFBQizVPdMOlkPo=; b=WUYLuFe6yRFCYZvoODP92yPpJvtsUoWuIZYO+gc6EewbnOsSxX7W7ygqyh44g433Eo Rdz48yqGhcmTjklCSmtT3fpX7SeHG3ZTAcyy6ZodmGBqphzgLmbVHWatSnUy4efX6F4+ woSrP/rcHnz8MaXGAJSoCAY1JrAVO9sxdOUJFg/lnX2ObBWaeOc6VAqXI/MGtS7AkO6p WeBvKyv1ZRtBdq70TLBLOG97B9uK6DIro99D1xFLaXyQiWE1AzC2oc2/rC2brqEZOZui Z6QDqjnjJdQJtoM1WZ76jYm90jSp0JYjp8euiK3FrMqW4QSX7Qhml/evNGq6cGcOzbIs 2EJw== X-Gm-Message-State: APt69E23kMMyJe5M/9VBJYJ79kf+9f9hSdymCOciLuS1+Nw9aQFu+7v0 HWifjqqExIyUCnbemclXwzGMAw== X-Received: by 2002:a5d:438d:: with SMTP id i13-v6mr1269634wrq.156.1530279833138; Fri, 29 Jun 2018 06:43:53 -0700 (PDT) Received: from andrea (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id 16-v6sm2691060wmi.36.2018.06.29.06.43.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Jun 2018 06:43:52 -0700 (PDT) Date: Fri, 29 Jun 2018 15:43:45 +0200 From: Andrea Parri To: "Paul E. McKenney" Cc: Jonathan =?iso-8859-1?Q?Neusch=E4fer?= , linux-doc@vger.kernel.org, Jonathan Corbet , linux-kernel@vger.kernel.org Subject: Re: [PATCH] docs: atomic_ops: atomic_set is a write (not read) operation Message-ID: <20180629134345.GA10981@andrea> References: <20180605194326.23596-1-j.neuschaefer@gmx.net> <20180606080756.GU3593@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180606080756.GU3593@linux.vnet.ibm.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 06, 2018 at 01:07:56AM -0700, Paul E. McKenney wrote: > On Tue, Jun 05, 2018 at 09:43:23PM +0200, Jonathan Neusch?fer wrote: > > Describe it as such. > > > > Signed-off-by: Jonathan Neusch?fer > > I have queued this, but if someone else would prefer to take it: > > Reviewed-by: Paul E. McKenney In the commit message of bb7d47b697116c ("docs: atomic_ops: Describe atomic_set as a write operation") from your dev branch, from "reads" to "writes" Andrea > > > --- > > Documentation/core-api/atomic_ops.rst | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/Documentation/core-api/atomic_ops.rst b/Documentation/core-api/atomic_ops.rst > > index 2e7165f86f55..724583453e1f 100644 > > --- a/Documentation/core-api/atomic_ops.rst > > +++ b/Documentation/core-api/atomic_ops.rst > > @@ -29,7 +29,7 @@ updated by one CPU, local_t is probably more appropriate. Please see > > local_t. > > > > The first operations to implement for atomic_t's are the initializers and > > -plain reads. :: > > +plain writes. :: > > > > #define ATOMIC_INIT(i) { (i) } > > #define atomic_set(v, i) ((v)->counter = (i)) > > -- > > 2.17.1 > > >