Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1613367yba; Thu, 4 Apr 2019 14:28:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfCZfrcKcu2eupanyf/KdHQVoVUna0YzANVhLPQxi12WnvS1liiIw2L6Nc/GVItX1kgIDF X-Received: by 2002:a62:6c6:: with SMTP id 189mr8437075pfg.36.1554413300916; Thu, 04 Apr 2019 14:28:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554413300; cv=none; d=google.com; s=arc-20160816; b=ItgkGePLOpKVbcW0kEftj57d2YmPkc66Ea/voy0287mQs34xmY2Z8+/n2b4r16ShcK SFsUwIJucVbGASdkZbfu+ic2xdndAevWwuHOcBHdLCsLXr7N7CkTVwmzGuhmOkH3rIU4 ko6xwBeMAU+Kl606yg1xgVu9fv5ty0jTzI7+bPve5ED91q6/4SCUmxSLSiUF9j8zcJT6 9OXGXd8ugqQKUbHCkpOMx66G3tSS0cWflhN/Fv3BR6kSp8PvAQoZwmXM75DHyCszES8l QzSBS1MZS2TNWiBpzsvUKMq36rR0YplpBKC2zsO/HB0ZIOPhF5UwigFuFkg00tZcpx/L WeOQ== 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-disposition:mime-version:references:reply-to:subject:cc:to :from:date; bh=K/PD36MGdFD3bGEROMjsWDI9Lrd55sG3pUwdvKn9mAs=; b=JRwzm6q10/+XFsGFkig4WqdBgsry+gowBukdUIK3p2uBKVY6TTcIvTkPb92vmeYxYb gLrFAQCLROasDeB2hCjbFM9+AxM52dhAaKtIkzuYYQXOmb1rRZ7SzAzmYAiKf9jxnc5y YrDUQyJb7tY2ODMAqq88h1zWiwCcbSsnfUXYCXOiF5/t9zox0roHcmnZ2POkFXbeaQib l8iCO58+OnOO/2cA5HN7wes2Id7TbHj71k97aThG4/sMGDfTme9BzYIvufgHs2dfFWJ6 IbURjYlbYKqsd0JS25jTcPsunglRkxu5Aw/IwfKJFq+6tHiHBZ+dVmNSYZ1eaJIWr0SB 1SKA== 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 j12si17075664plk.144.2019.04.04.14.28.05; Thu, 04 Apr 2019 14:28:20 -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 S1731262AbfDDUuf (ORCPT + 99 others); Thu, 4 Apr 2019 16:50:35 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:39986 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731250AbfDDUue (ORCPT ); Thu, 4 Apr 2019 16:50:34 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x34Km3cu041111 for ; Thu, 4 Apr 2019 16:50:33 -0400 Received: from e16.ny.us.ibm.com (e16.ny.us.ibm.com [129.33.205.206]) by mx0a-001b2d01.pphosted.com with ESMTP id 2rnpx2pf49-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 04 Apr 2019 16:50:33 -0400 Received: from localhost by e16.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 4 Apr 2019 21:50:31 +0100 Received: from b01cxnp23033.gho.pok.ibm.com (9.57.198.28) by e16.ny.us.ibm.com (146.89.104.203) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 4 Apr 2019 21:50:26 +0100 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x34KoPxi18087942 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 4 Apr 2019 20:50:25 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C5F10B2065; Thu, 4 Apr 2019 20:50:25 +0000 (GMT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A71C0B2066; Thu, 4 Apr 2019 20:50:25 +0000 (GMT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.188]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Thu, 4 Apr 2019 20:50:25 +0000 (GMT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 939D316C32DA; Thu, 4 Apr 2019 13:50:27 -0700 (PDT) Date: Thu, 4 Apr 2019 13:50:27 -0700 From: "Paul E. McKenney" To: Andrea Parri Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, mingo@kernel.org, stern@rowland.harvard.edu, will.deacon@arm.com, peterz@infradead.org, boqun.feng@gmail.com, npiggin@gmail.com, dhowells@redhat.com, j.alglave@ucl.ac.uk, luc.maranget@inria.fr, akiyks@gmail.com Subject: Re: [PATCH tip/core/rcu 08/21] tools/memory-model: Add support for synchronize_srcu_expedited() Reply-To: paulmck@linux.ibm.com References: <20190326234114.GA23843@linux.ibm.com> <20190326234133.24962-8-paulmck@linux.ibm.com> <20190402144911.GA10044@andrea> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190402144911.GA10044@andrea> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 19040420-0072-0000-0000-00000415A73A X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010873; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000284; SDB=6.01184363; UDB=6.00620129; IPR=6.00965117; MB=3.00026298; MTD=3.00000008; XFM=3.00000015; UTC=2019-04-04 20:50:30 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19040420-0073-0000-0000-00004BB6725B Message-Id: <20190404205027.GM14111@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-04_11:,, 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-1810050000 definitions=main-1904040131 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 02, 2019 at 04:49:11PM +0200, Andrea Parri wrote: > On Tue, Mar 26, 2019 at 04:41:20PM -0700, Paul E. McKenney wrote: > > Given that synchronize_rcu_expedited() is supported, this commit adds > > support for synchronize_srcu_expedited(). > > > > Signed-off-by: Paul E. McKenney > > --- > > tools/memory-model/linux-kernel.def | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/tools/memory-model/linux-kernel.def b/tools/memory-model/linux-kernel.def > > index 0c3f0ef486f4..551eeaa389d4 100644 > > --- a/tools/memory-model/linux-kernel.def > > +++ b/tools/memory-model/linux-kernel.def > > @@ -51,6 +51,7 @@ synchronize_rcu_expedited() { __fence{sync-rcu}; } > > srcu_read_lock(X) __srcu{srcu-lock}(X) > > srcu_read_unlock(X,Y) { __srcu{srcu-unlock}(X,Y); } > > synchronize_srcu(X) { __srcu{sync-srcu}(X); } > > +synchronize_srcu_expedited(X) { __srcu{sync-srcu}(X); } > > This and the other patches from the series do not apply to "tip/core/rcu" Ah, that is instead their hoped-for destination within the -tip tree. They are included in -rcu branch "dev". > (from the Subject), but this seems straightforward enough: > > Acked-by: Andrea Parri Applied, thank you! Thanx, Paul > Andrea > > > > > > // Atomic > > atomic_read(X) READ_ONCE(*X) > > -- > > 2.17.1 > > >