Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp307882imm; Mon, 2 Jul 2018 11:54:14 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKkdifanQOPaHJ1aZve+UaAv/xQLOgTDZBW5HliByzM15hWnj4QJ+ZcXzYbXiQYkRm6I+/U X-Received: by 2002:a17:902:bb90:: with SMTP id m16-v6mr26930724pls.50.1530557654491; Mon, 02 Jul 2018 11:54:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530557654; cv=none; d=google.com; s=arc-20160816; b=cplxmt93vSyN+8BGDf9fSheaEgsT80LjRV24JDglDlpZcAFyFc2fqtNMseiStr7EXH bIGdixxOcGayoKf8Nr7qi3RaCDCEzspkXUpMTrf4oqpDRXlMpRTmhwzmeN7ySUAriX03 mPmn9M67LwJZnIzFErEnp1DC6EdOcURBESxlnRe7DdEvQmf5jX10OmK9MFKpEJOUNpL6 8cLqxxbxb8RwAlG/ZQ3IpuBEz59Era2qEush8Ng0TZDnYiygwQ2XEpdPOhljPBzEUttA aXeqUaNzKZOFC6I3YZBqLcu7OaWF6hAlIofirBp5pAiZfXfNukODR6iOuBvoJDaqgZ7V +F+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:reply-to:subject:cc:to:from:date :arc-authentication-results; bh=+FKPbBeRVucRC7VbYILBBplUL9hXxGcGfRcewC2s/to=; b=AOMMDdEoDjyBmcipOYGwssY5QwygOaGHuFIL4a37gt0yF0h55fpmoSEhnK5E3VrdlY 7l1NZIUwdq8+o3jVnDzfQGxGuJ2cz2pe27PiB8pQdQfu+9B7PoGp0tgE9gAYRIQppsbp LqQKON4E1OKP4I5Uw0GHC03VWVc6ou6hAaxBtAWB/sNEyvfUkpJYg4BOx7DwLV7dIUB/ 3XgLlImrGLifyyhyOe1nSgRQu2V26VSZXwc5UZRFy/KNJySB8uGV3vinn9+k9Si5NVfi E/CAis5ORRL+5Yyf/wtK3e06WJdMlrx0cFdHfVdvU/s4FDt52Z2Qufkk6+BXBwvciR0Q tZtQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f10-v6si16375750plr.265.2018.07.02.11.54.00; Mon, 02 Jul 2018 11:54:14 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753492AbeGBSxV (ORCPT + 99 others); Mon, 2 Jul 2018 14:53:21 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:52828 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753263AbeGBSxR (ORCPT ); Mon, 2 Jul 2018 14:53:17 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w62IiJQq145951 for ; Mon, 2 Jul 2018 14:53:16 -0400 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0a-001b2d01.pphosted.com with ESMTP id 2jyqp8nq0u-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 02 Jul 2018 14:53:16 -0400 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 2 Jul 2018 14:53:16 -0400 Received: from b01cxnp23034.gho.pok.ibm.com (9.57.198.29) by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 2 Jul 2018 14:53:13 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w62IrDEi8913366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 2 Jul 2018 18:53:13 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E5905B2066; Mon, 2 Jul 2018 14:52:57 -0400 (EDT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C7491B2065; Mon, 2 Jul 2018 14:52:57 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.159]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 2 Jul 2018 14:52:57 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 2510D16CA366; Mon, 2 Jul 2018 11:55:26 -0700 (PDT) Date: Mon, 2 Jul 2018 11:55:26 -0700 From: "Paul E. McKenney" To: Andrea Parri 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 Reply-To: paulmck@linux.vnet.ibm.com References: <20180605194326.23596-1-j.neuschaefer@gmx.net> <20180606080756.GU3593@linux.vnet.ibm.com> <20180629134345.GA10981@andrea> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180629134345.GA10981@andrea> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18070218-0060-0000-0000-00000285BD72 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009296; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01055583; UDB=6.00541417; IPR=6.00833506; MB=3.00021965; MTD=3.00000008; XFM=3.00000015; UTC=2018-07-02 18:53:16 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18070218-0061-0000-0000-000045A71A92 Message-Id: <20180702185526.GS3593@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-02_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807020210 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 29, 2018 at 03:43:45PM +0200, Andrea Parri wrote: > 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" Good catch, fixed, thank you! Thanx, Paul > 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 > > > > > >