Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7830231ybi; Thu, 6 Jun 2019 02:07:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyl6ir786B1PcLIJ1rYaJ5LqPhUDVMMryqpYNKWQcGQAJyouCi3bijp2TsCRS9M59mz+qU5 X-Received: by 2002:a63:6b07:: with SMTP id g7mr2466982pgc.325.1559812056303; Thu, 06 Jun 2019 02:07:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559812056; cv=none; d=google.com; s=arc-20160816; b=zpf4nsFAp9gexhUQS2x1C76Otw49DfpeYmFUpqyJP7WUS2Pu9UToMM2F1leEaQB4WY Iy/KoMi4LL/z6GsSMdeiEKnygT3wTcTWaFUGnzooDT+bIt4AOpMTfJB7fD3TaehYki9x q6L23Fc8zx6glSDdaSGnHZimy2lKrfz3WQL0bfhtHHjAgGGzN6NIsq5L00x9VG7Wu1H8 Xz6iKIghoHzOpRcTMycqTGK7jXtA2n9q2dMoSo0+12Swf8UV5RcM09suAJAPTrdr+SEC ZEAmmGEvHwdCaw4ol22Z0mfPPYQgekWS+YKUTg4RozbpB8rEsbGLWA9/GyRaqfOdtzcI glVg== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ys6rGbN6Yk8y8bdYPTIE+k8Cxoa95HDhIkR7mf6kmvQ=; b=x7hMTwQzYInDzjA5qquWa9AJdFRXpfCkW1ROPQhlinQ5tMGQdwPbb84+7mr95/41lU 7MWbmmQ8XV+RIV/GV9/2U+umQrBQyR/ABfRTQ3RS/uDjmXjawOSPgKp7YmqiSiqEPGoi O5nuxwtqOICfKJWlSWl9LBMHZx1oaI5aFIEr74j6lV4AmFYMbBOOif3YFniIK3vbzD8W p/J1prQwQ4PAdn/COosedfdfmVtz5ptWKP1bNZzt+tFJflG/mz9Y26M6peBUS+4syDaQ hmPIhCUyYFQiXFjsOnrZgZnWrIoGKzlD84y+anbFFUQKGWISth742MMUWBl935x5nxkN 6OfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ijxw7vsD; 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 h2si1213879plh.368.2019.06.06.02.07.18; Thu, 06 Jun 2019 02:07:36 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ijxw7vsD; 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 S1727600AbfFFJEr (ORCPT + 99 others); Thu, 6 Jun 2019 05:04:47 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:36306 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727458AbfFFJEq (ORCPT ); Thu, 6 Jun 2019 05:04:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ys6rGbN6Yk8y8bdYPTIE+k8Cxoa95HDhIkR7mf6kmvQ=; b=ijxw7vsDMWsNOgxy/c33A4hgO TaCg/tMbcQCjbhquqD9Q50H9GBWO2MHJ3bexxMHgkm+/PTUjrSxEpFe5ctXK7EwyX2agMVuPOOcmm XLvLi1HKrAZdgluIEKxEJ2QYT2kCUpFl685349wKz/y8b304ug5ZIcRHVwmoTtXW4vCSTNqsszWcu 7An5QjIQGYL4CRoQqy8eWQ4O0UwHTtd5UDv/FUnrwZFfiSQ6Ejspd/CKyxHC/6G+R+64HJ7+liA0d nugKJZ/njUTT/y6WRDcyUe9LD3Vo96wS1s5LIZeAmwpnpZE7v3hAra44tOfLvd6k9zrUJgd2Ji79h 7xwqhoZhg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hYoK9-00042T-Lv; Thu, 06 Jun 2019 09:04:41 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 79683209697B8; Thu, 6 Jun 2019 11:04:39 +0200 (CEST) Date: Thu, 6 Jun 2019 11:04:39 +0200 From: Peter Zijlstra To: Andrea Parri Cc: torvalds@linux-foundation.org, mingo@kernel.org, gregkh@linuxfoundation.org, tglx@linutronix.de, hpa@zytor.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org Subject: Re: [tip:locking/core] Documentation/atomic_t.txt: Clarify pure non-rmw usage Message-ID: <20190606090439.GK3419@hirez.programming.kicks-ass.net> References: <20190524115231.GN2623@hirez.programming.kicks-ass.net> <20190606084421.GA5523@andrea> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190606084421.GA5523@andrea> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 06, 2019 at 10:44:21AM +0200, Andrea Parri wrote: > On Mon, Jun 03, 2019 at 06:46:54AM -0700, tip-bot for Peter Zijlstra wrote: > > Commit-ID: fff9b6c7d26943a8eb32b58364b7ec6b9369746a > > Gitweb: https://git.kernel.org/tip/fff9b6c7d26943a8eb32b58364b7ec6b9369746a > > Author: Peter Zijlstra > > AuthorDate: Fri, 24 May 2019 13:52:31 +0200 > > Committer: Ingo Molnar > > CommitDate: Mon, 3 Jun 2019 12:32:57 +0200 > > > > Documentation/atomic_t.txt: Clarify pure non-rmw usage > > > > Clarify that pure non-RMW usage of atomic_t is pointless, there is > > nothing 'magical' about atomic_set() / atomic_read(). > > > > This is something that seems to confuse people, because I happen upon it > > semi-regularly. > > > > Signed-off-by: Peter Zijlstra (Intel) > > Reviewed-by: Greg Kroah-Hartman > > Acked-by: Will Deacon > > Cc: Linus Torvalds > > Cc: Peter Zijlstra > > Cc: Thomas Gleixner > > Link: https://lkml.kernel.org/r/20190524115231.GN2623@hirez.programming.kicks-ass.net > > Signed-off-by: Ingo Molnar > > I'd appreciate if you could Cc: me in future changes to this doc. > (as currently suggested by get_maintainer.pl). > > This is particularly annoying when you spend time to review such > changes: > > https://lkml.kernel.org/r/20190528111558.GA9106@andrea Sure, I hadn't realized the LKMM entry had appropriated this file, I considered it part of the ATOMIC entry there.