Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3204327imu; Mon, 17 Dec 2018 15:27:00 -0800 (PST) X-Google-Smtp-Source: AFSGD/VdDwERwbLb6xzAanZFxzgD7xEfW6z69ahYV+Ywl7zZ7p0zfEQDT4gwk4XDE9P+CAiZsKSV X-Received: by 2002:a17:902:aa4c:: with SMTP id c12mr14319654plr.48.1545089220848; Mon, 17 Dec 2018 15:27:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545089220; cv=none; d=google.com; s=arc-20160816; b=r+jcZC9FFXQt/UXzKqAkmIM2LHCBrFzg6K2sw0tDj+4UJ1R5Qoani7Zpf7KLke6dWB bfmC7USmQosJIiTkQ3Ab/6YNd1WwbGWj2gC7kGTqgXp5sBM/nZ/kKgwk038Wg1tuk1t7 S4TOehYC9bK8jHYaRge6x7CF8vQs1o1Bbg0p6vh0tmk8GReXqgDAmeSEGX6amfdxYBxs AzB2N3b6+fhlc3UspC/TO8f9I2HtpgTFuXQuaouJJO3eewPBWNSKc8X0ByGy5FYBmpt6 atEOuXMPpziwhTTECn2rHGccVuEzRHhOKdFosQ3VKdexv/wPck9qsD/oK76DZTFcp++n de0Q== 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=ewyNVfIQur5dYaPnBPCaCuzQ2dHgrMZzNkkb6MCSIxQ=; b=T3DNcUxZadLDusdvYsAQUoNRZ1GmNbiYyEJkMw3eWfGfazuZoWqfeuwgIQ87JTzfzF hwXDiNJqxBYPu77NUEBPSRAZpNSSL1vTN/sbxf1BYyxF3oUk3Rf4B6jUKXxGxkxA6e06 BK84e6KkwbxdvHlwWZXTiF4K2G97o+cEG01z7OItuTx165UOliVe2s+Sw0/q1FxHlpgk 4gXSZvN1+wGAdtIIaId4UqFA2RP2SlStBdbirqVRJ0gfOCcgz2SIB/Jdxh2qwO67i6xo wTIrapPPsJYOZygaG0Ga5nchTx2u/3cJfGsrRLZB6WquPrLjTztrwdKE92+tk1jgUIbS YAZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=0w7whLyp; 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 b24si11926871pgg.288.2018.12.17.15.26.45; Mon, 17 Dec 2018 15:27:00 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=0w7whLyp; 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 S1732201AbeLQWub (ORCPT + 99 others); Mon, 17 Dec 2018 17:50:31 -0500 Received: from merlin.infradead.org ([205.233.59.134]:59112 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727342AbeLQWua (ORCPT ); Mon, 17 Dec 2018 17:50:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=ewyNVfIQur5dYaPnBPCaCuzQ2dHgrMZzNkkb6MCSIxQ=; b=0w7whLyppnyCzu1paF1B2/tuq sA9+Sqikd5vWwFnDWR6iTSlLQwO3xClbfLeViWsViFel2HtWeFUbdkX+OdTSFBheWaGf6Wcg55qEI sq0Zr/ofhEJFTzkK+YpAv+fBZeYpXomyffG+Q6exz9k4Ywysh7gCYvzt5og9mtSjaULwsWmO7BOFZ ZIKvC7KwbHy8SmI2maS7J3M/YopkkNB5wbJ00NUzc64FV3FMTb6yB8DKCsfx74T9cRxKvXy8AvzEB 0LF/RBXArU814VKuP6Vdy07oQkmeQccHkrTRBKoh18/2DEJQ0BDsQgTgjOIJUiNZr1e0KTFbfCYLZ CTCKHm87Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZ1iP-0004LK-8x; Mon, 17 Dec 2018 22:50:21 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 16A9F20276AAC; Mon, 17 Dec 2018 23:50:20 +0100 (CET) Date: Mon, 17 Dec 2018 23:50:20 +0100 From: Peter Zijlstra To: Arnd Bergmann Cc: Nicolas Pitre , Andi Kleen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Paul McKenney , Will Deacon , Ingo Molnar , Thomas Gleixner Subject: Re: [PATCH 0/7] ARM: hacks for link-time optimization Message-ID: <20181217225020.GA16520@hirez.programming.kicks-ass.net> References: <20180220215954.4092811-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180220215954.4092811-1-arnd@arndb.de> 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 Tue, Feb 20, 2018 at 10:59:47PM +0100, Arnd Bergmann wrote: > Hi Nico, all, > > I was playing with ARM link-time optimization handling earlier this > month, and eventually got it to build cleanly with randconfig kernels, > but ended up with a lot of ugly hacks to actually pull it off. How are we dealing with the fact that LTO can break RCU in very subtle and scary ways? Do we have a compiler guy on board that has given us a compiler switch that kills that optimization (and thereby guarantees that behaviour for future compilers etc..) ? Also see the thread here: https://lkml.kernel.org/r/20171116115810.GH9361@arm.com (and yes, this is a fine example of how lore sucks for reading email)