Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3943222ybz; Mon, 20 Apr 2020 12:20:58 -0700 (PDT) X-Google-Smtp-Source: APiQypLPXDto0pwzfEovSP55W6LoYV0BwE6TY/Ahc3y4uHsin8IiAMAr1GF2r8X4fF67O5poujpQ X-Received: by 2002:a17:906:cf8a:: with SMTP id um10mr17188932ejb.60.1587410458231; Mon, 20 Apr 2020 12:20:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587410458; cv=none; d=google.com; s=arc-20160816; b=If3sQNuzwZRL5DvAOsNYCQlmrrVwCy5q+FZpjm0AxE32Z/D/PpDGLd9+EQCQNsMVEN Vize+1ot+/VFnpOkn0ydZJjUf/qVToGOCwZrPyzMOGKvFjrMjOLxGqZB1IG4PaUTVbUk qe0ISrlsSwvVmvHR5tmYbu+Pc6acObdJZ8FST13XYy/UWgnlCYNdld/fUIsgZEyDV0or q1qr1GxmRrd/nl7DbLnrhTqTWSmU0SvVQhMuF1ST36z+MASdNYFtg5SIG/c9elWoVJd9 hTIFgaTwK5MS02YCFFzEEQ30QkwMtevhO63GuQP4sS1jErmwDkOFXBUxVLvEOuMXzFQm 9LZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=2Bb37iSsZWAZLidveO3/hVGKaaLj1Eb4qOiowAVzP5U=; b=FVXaoaDI6AZvQsxViS0RqYwu0BPRcM/Ek7a/iraupxk+za4xzgLOVcutNwyE/fZJCj KIupl+WUfOdv+RBoKCy/V0hB60c+LnXcGlbYNJ6sGt6mqH4p6ZkvrMhUMPrL5tPzG2iY qQg/5k3eWZmcELYxylodHFsdzc1uV6nT2o+bt4J3FLOzUyCbObLAdV9f8fmwCkT79Mu5 4KbISWmG68sQmmzAwDalJzk2FaYkpU9Ay35xWAarz3NhclbEejRgkLJyLL6/qR6W1FlR vChHeBsT5BeK3RoJq6iPMmDgDsYekltTvLoYU6bYhx6li/8XHAj9xL3e2myzlmyZZCHX Sfmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="q/1dibae"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u13si213569eds.336.2020.04.20.12.20.34; Mon, 20 Apr 2020 12:20:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="q/1dibae"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727900AbgDTTRj (ORCPT + 99 others); Mon, 20 Apr 2020 15:17:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725897AbgDTTRi (ORCPT ); Mon, 20 Apr 2020 15:17:38 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8924C061A0C for ; Mon, 20 Apr 2020 12:17:38 -0700 (PDT) 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; bh=2Bb37iSsZWAZLidveO3/hVGKaaLj1Eb4qOiowAVzP5U=; b=q/1dibaeYn0mAfwOgOwGZ+HeHC /3M+IolIlxc8tfGOLf9QttgC5UoYM2mNl+0BNO3yd6BdTomx3WZNKp6E0qQkUI+m3c/KKEQpYd8gD gKmNbHUxYNWkG3bGYKigIN5gPAq/FyCzzu3gargW27aGh+cxDOMrW6UVvOnIdZ8WAUWnL1J4n/wrw xCC5bmEBp1Jm05m9eXnJHHuRQ+ing09Tb5fXcxU7D6Vi98+mfyO74c1myEbjyfd6W9OqvCyGgNBh2 qHVXcPalfNHKHr7J4qq/0uwaQMTJ8L1W3z1IvrCW4sfrkMzqEnSeG388A8YZNBld53b7vMIjzd1Rg cLLAEw7A==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jQbv9-0007Wa-4z; Mon, 20 Apr 2020 19:17:31 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 66B773010C4; Mon, 20 Apr 2020 21:17:28 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 30B532BA17328; Mon, 20 Apr 2020 21:17:28 +0200 (CEST) Date: Mon, 20 Apr 2020 21:17:28 +0200 From: Peter Zijlstra To: Josh Poimboeuf Cc: Linus Torvalds , Ingo Molnar , Thomas Gleixner , Masahiro Yamada , Linux Kernel Mailing List , the arch/x86 maintainers Subject: Re: [GIT pull] perf/urgent for 5.7-rc2 Message-ID: <20200420191728.GN20730@hirez.programming.kicks-ass.net> References: <158730459860.31269.9496277256253823777.tglx@nanos.tec.linutronix.de> <158730460101.31269.5005570498545135614.tglx@nanos.tec.linutronix.de> <20200419200758.3xry3vn2a5caxapx@treble> <20200420074845.GA72554@gmail.com> <20200420174031.GM20730@hirez.programming.kicks-ass.net> <20200420181730.4bmggezf2zhu4ffb@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200420181730.4bmggezf2zhu4ffb@treble> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 20, 2020 at 01:17:30PM -0500, Josh Poimboeuf wrote: > On Mon, Apr 20, 2020 at 07:40:31PM +0200, Peter Zijlstra wrote: > > So my pet peeve is that when objtool errors, or crashes, the .o file > > gets deleted and it becomes really hard to debug the situation. I'm > > thinking that your suggestion would actually help with that too. > > I do have the same pet peeve and I'm thinking we should just revert > 644592d32837 ("objtool: Fail the kernel build on fatal errors") which > would ease most of the pain. Those fatal errors don't really buy us > much IMO. Agree? Well, I like that it stops the kernel build on an error; I hate that it makes it so damn hard to then diagnose and fix the error :/ Also, it doesn't really help for crashes, luckily those are somewhat rare -- except I had one today as a result of a mis-merge... > > I just don't have enough Kbuild foo to even attempt this :/ > > It's an interesting idea, but it might have its own share of annoyances. > > If you added something bad to a file, and just rebuilt that file, you > wouldn't see the objtool warning until later when you build the entire > kernel. Moo.. :/