Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2861672rwb; Thu, 17 Nov 2022 17:48:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf47zw15+CAoV3cHA7yT4YQyzIKF4n4ZefB0eT3XFSVgOmhjvDOfwsUbng2531jX2cbddfu4 X-Received: by 2002:a63:ff5f:0:b0:46f:b6df:3107 with SMTP id s31-20020a63ff5f000000b0046fb6df3107mr4647130pgk.454.1668736097301; Thu, 17 Nov 2022 17:48:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668736097; cv=none; d=google.com; s=arc-20160816; b=r9LD5lOGhGbIQTipC5h9U2CShFe7f/ys/vjPhMOul5N8MyGx8w79JAKJxptbIEr5Od JDGzVGBuxu7p0Y5tplnylEK57zoyA8Y0wtbauEJILhXfDqcKl4dJ2KIx0TD2u/nARheM TE6SRJIM2Hm+Nc/j8WfaeiUY8I7NqsuLbl7Jny2uQeWg/ne4R/C+Qo9BL5r4OGj2rhfG g4LPKrB3AhYbcTukju6idEkHJhnpnZ0u6B/DPbOd667eRwGYySe6YTcbBgmoMnKjhENt PvuJq5LQz+8EpxAViDt7HES11JSSPCdur4X+VJvqP0tOfWcUmt0r5kObrk8S3V2FgPSz voig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=E/uOAq27HWepm1hqB8gGgqIddmHBWCv9QGtuYTUirTs=; b=GpCqUG1pl3bB+/H3So2JvX4gtqMHQJ7V5ctQvMa4HBVIvWoaXfYMbinz10Fv7lZFMR wM8wgGteLuwmgpCmEYRahswvngn2EQ7XiTWK59erre78Pb+ZmLcII3+3YPGMlNAcm3TO zO0nOjrjWimbWLYfG0Im8jVbZHJf1keN+/1YNnL3Prjj60io2OpzySNb2JsYiOixvnLE FvFfw+pVRXdmLZod8EV7MG3j3am+7hT02B00F3pfu2cD5AdDR0xdS1AIr7ggV63yx1g8 3qia1XDh1cpMv0FA/2jddxIFRiwPEW7YQ9RTkYMb3+/NFPBBmaBFagQwNBS1vXhrJCTw sSeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=q0hJEFCU; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l4-20020a654c44000000b004620564706dsi2345852pgr.730.2022.11.17.17.48.05; Thu, 17 Nov 2022 17:48:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=q0hJEFCU; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235073AbiKRB2L (ORCPT + 91 others); Thu, 17 Nov 2022 20:28:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235041AbiKRB2J (ORCPT ); Thu, 17 Nov 2022 20:28:09 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F0116D4A7 for ; Thu, 17 Nov 2022 17:28:08 -0800 (PST) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1668734887; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=E/uOAq27HWepm1hqB8gGgqIddmHBWCv9QGtuYTUirTs=; b=q0hJEFCUuVnEFgYt8eI169Sk/RNEe5RVFfu9GMLK45iva/WlxD2u31XMFTFhfNHPrNKoFJ oYrt5mSAPgBiPeK/pyafTN6JsOV7C7mJQqyMglCVI88oaIM8qbYp5FjqGkO/JJkksMWEsi NcuKMOoPWaqSBm39BhAUqM8iRjW++S+feBkY3KQSSFdw6W2EA08Hj1No2fRScn/ZtAS6bW 50gUVfp8F5LhqHiVWY2BhcJKgpnyTjaMGNulZ7mDxkjvL+vFpc2rzsQbzChZBe4YQvdwq4 zgvnAPe+U04MpMhxTJ3qJzJVEu8JAUy/jhFzDpSTmQGok64cE0Sm12qORkx6Pw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1668734887; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=E/uOAq27HWepm1hqB8gGgqIddmHBWCv9QGtuYTUirTs=; b=Qj0CgMXy+F/yZi3h3s8cXHKYflU50c/Mi+oOS9LLwuXRXuoCWvpR8VFEePibs/ilnOxi/D rWxonOSABAHfEwDw== To: Andi Kleen , Peter Zijlstra Cc: "Jiri Slaby (SUSE)" , linux-kernel@vger.kernel.org, Andy Lutomirski , Martin Liska , Jiri Slaby Subject: Re: [PATCH 18/46] entry, lto: Mark raw_irqentry_exit_cond_resched() as __visible In-Reply-To: <289e03d2-be50-4249-343a-75dae302b0e5@linux.intel.com> References: <20221114114344.18650-1-jirislaby@kernel.org> <20221114114344.18650-19-jirislaby@kernel.org> <87a64qo4th.ffs@tglx> <289e03d2-be50-4249-343a-75dae302b0e5@linux.intel.com> Date: Fri, 18 Nov 2022 02:28:06 +0100 Message-ID: <8735ahkq55.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 17 2022 at 14:07, Andi Kleen wrote: >> Anyway; I think we can drop all this crazy on the floor again, since per >> the 0/n (which I didn't get) there isn't any actual benefit from using >> GCC-LTO, so why should we bother with all this ugly. > > At least in the past it generated smaller kernels for small configurations. > > One benefit that wasn't mentioned is doing type and other checks (e.g. > constant propagation > > through inlining) across files. > > In general LTO gives the compiler a lot more freedom to optimize code, > so even if it's not quite there > > yet I think it's beneficial to let users play around with it and see if > they can get benefits. Sure, they can play around with it but that does not require to merge all this nonsensical ballast for a half thought out compiler. If they want to do that they can apply the pile of patches as provided and play around. If anything useful comes out of that with sensible changelogs and a sensible argumentation why supporting a half thought out compiler is required then we can revisit that. Up to that point this is all considered to be __invisible. Thanks, tglx