Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2566733imb; Mon, 4 Mar 2019 08:18:43 -0800 (PST) X-Google-Smtp-Source: APXvYqx05zUbmXFne0MgDk/xQYP3rjEDtjVjzT60NaIg1vv7rEIK7/RWld80m1WXJz2b3zkC7MkV X-Received: by 2002:a17:902:bd96:: with SMTP id q22mr21197379pls.7.1551716323331; Mon, 04 Mar 2019 08:18:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551716323; cv=none; d=google.com; s=arc-20160816; b=yH8U7DE4VxoWTpnnP3o/j6bOd7QsWqjIzJZHvn0l8nJUQOcpNkvAT4r6hDNjJA1dXj EdktnZFkX36xXaEpjE5EIHv+jzWuTlPlR66liZ00nsSOevHN5fSwi84KdnldMykBZIxJ SuU4yKM+O9c0TtIsFovrdr/wyaAexRmSNebYBPQ4vTjcdHvqo8+by0+tbFLyiJK/JelO +ptnXXawdg/dlUb/nFtGRSGOaOIC0PxNPbQgxtHcYq18zIi47AhtmxjjEZdWNroX6kUa jLdB0J0zoI3BNsHnf6K7UWKY6dIUGgwGQWwZ1bLLyJqcEFzlkt/LyW1AiBxds8iwdnFi ZeHw== 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=B6asTMASFLKeNc1/u3spIxZthmv9iaSoFSjMM3tkQ4U=; b=Nw7dG0AZ65IrEWcF34pC+xHdHOWXBhxKs8Di00N+j5pGhqxX3VqmfntxvulmAd2+6Z wIE7IFsf0Mg9NTr1SOk2CbxiDh5tax5QUdrd8Vs/5QZc5Hv1/a2p2n3Vg0oemHSba/rP 6NNLWrCogZ1XMNFQR0zjvsqNlh+IgfpYdkzIQJ/M29luDha4rP8ewcogX2+MGff+Hott 7m8UXjuZtXX+K6057SNKm4DbRFHp+/MLOpn1ybyT+WVuaevy0kGYGksDazpIFiuEZWZb DqoF4STJKlIFUh/VjqukQeX3lQ4RDqJQl9QwpMgIvN1+QZeRRBzt5EGLf5DU71ZpFLhA 8fDg== 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 v1si5424672pgn.583.2019.03.04.08.18.28; Mon, 04 Mar 2019 08:18:43 -0800 (PST) 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 S1727313AbfCDQJw (ORCPT + 99 others); Mon, 4 Mar 2019 11:09:52 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:50252 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726430AbfCDQJv (ORCPT ); Mon, 4 Mar 2019 11:09:51 -0500 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x24G4eJw105445 for ; Mon, 4 Mar 2019 11:09:50 -0500 Received: from e11.ny.us.ibm.com (e11.ny.us.ibm.com [129.33.205.201]) by mx0a-001b2d01.pphosted.com with ESMTP id 2r1716rwme-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 04 Mar 2019 11:09:50 -0500 Received: from localhost by e11.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 4 Mar 2019 16:09:49 -0000 Received: from b01cxnp23032.gho.pok.ibm.com (9.57.198.27) by e11.ny.us.ibm.com (146.89.104.198) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 4 Mar 2019 16:09:44 -0000 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x24G9hve17957014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 4 Mar 2019 16:09:43 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 18B2FB2067; Mon, 4 Mar 2019 16:09:43 +0000 (GMT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EBA26B205F; Mon, 4 Mar 2019 16:09:42 +0000 (GMT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.188]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 4 Mar 2019 16:09:42 +0000 (GMT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 48FBD16C32DC; Mon, 4 Mar 2019 08:09:47 -0800 (PST) Date: Mon, 4 Mar 2019 08:09:47 -0800 From: "Paul E. McKenney" To: Akira Yokosawa Cc: Peter Zijlstra , Borislav Petkov , Andrea Parri , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Alan Stern , Will Deacon , Boqun Feng , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , Daniel Lustig Subject: Re: [RFC PATCH] tools/memory-model: Remove (dep ; rfi) from ppo Reply-To: paulmck@linux.ibm.com References: <20190222130014.GY32494@hirez.programming.kicks-ass.net> <20190225175517.GK4072@linux.ibm.com> <20190226093009.GS32477@hirez.programming.kicks-ass.net> <20190226104551.GF32534@hirez.programming.kicks-ass.net> <20190226112133.GG32534@hirez.programming.kicks-ass.net> <20190226112521.GH32534@hirez.programming.kicks-ass.net> <20190226113008.GI32534@hirez.programming.kicks-ass.net> <20190226113813.GA14753@zn.tnic> <20190226134906.GG32494@hirez.programming.kicks-ass.net> <8fbdcdc0-1f4e-e268-c183-0d65be3d39c9@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8fbdcdc0-1f4e-e268-c183-0d65be3d39c9@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 19030416-2213-0000-0000-0000035DADD8 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010704; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000281; SDB=6.01169549; UDB=6.00611167; IPR=6.00950177; MB=3.00025830; MTD=3.00000008; XFM=3.00000015; UTC=2019-03-04 16:09:48 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19030416-2214-0000-0000-00005D8ECFD4 Message-Id: <20190304160947.GB13351@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-04_07:,, 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-1903040117 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 03, 2019 at 12:27:12AM +0900, Akira Yokosawa wrote: > Hello Peter, > > On Tue, 26 Feb 2019 14:49:06 +0100, Peter Zijlstra wrote: > > On Tue, Feb 26, 2019 at 12:38:13PM +0100, Borislav Petkov wrote: > >> On Tue, Feb 26, 2019 at 12:30:08PM +0100, Peter Zijlstra wrote: > >>> When I used the argc variant, gcc-8 'works', but with s/argc/1/ it is > >>> still broken. > >> > >> As requested on IRC: > > > > What I asked was if you could get your GCC developer friends to have a > > look at this :-) > > JFYI, there is a bugzilla ticket regarding this behavior of GCC > at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61502, > which started on 13 June 2014 and the latest entry was on > 02 Feb 2019. And that bug was submitted by none other than Peter Sewell, thank you! This bug references https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775, where someone appears to -want- this sort of optimization. :-/ Thanx, Paul