Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4027102rwl; Tue, 28 Mar 2023 01:15:25 -0700 (PDT) X-Google-Smtp-Source: AKy350aeYVFnwS8vCEsOMYAWCeAQjvb+Do3RC4K4i/1aw1QNXw8K40k+hpleTLT4hoyHWgEnBvG8 X-Received: by 2002:a50:fc03:0:b0:500:58d8:b339 with SMTP id i3-20020a50fc03000000b0050058d8b339mr14757062edr.20.1679991324803; Tue, 28 Mar 2023 01:15:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679991324; cv=none; d=google.com; s=arc-20160816; b=f8MpI+SAjOrRbQmC/foW8WrfsuPKzmXxvKdA4qwH1vBXOZobRPnoZ9SonE0SNhbBUj 4w/OlUQKICJc7z8Km/zMBjrsoXG2ZAjljlgzOrz8YKx4B7sH1qSYZpTGzeu1pskHGoaF m6BF8kQ3sYLnNKmhkFuMq4afTuIOXIhd1xZo+Ftq+yKVyIun/CAXkOSQyAVZM/iPOsdn 7i/8Qr6ciGDo+dyTfkv4xc4swMxyLNWS1qrWofrQvg4YGVbIA5iIoq9A5g4XJuRKK9JP 3RW5/YQM9RGvnCRce8VBygXy1hP5/NDb5Fd0QyxAUuUkKUUawb0mqyJZcDrfsv55WSXY hBaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9aiFtdzprt66V5jMsLV13bI+fqreux1yG7PfwIIUbAs=; b=y5+13wVCIURXa4bWcuP3kPYweMgvF03yjuSjkye4fa94N4Ipedx5EwUx7u8be3dpYm YGC69xjd1DqCHWLVLyy1u0SS3V4JgYw4SLN1xWI3Q11utxYW5IH/AOjY2wTMQTY3RLKi WMVn8FxGsvHm4O/tq231G3fmO0OO8nIY+jGeaty+jbEJY2OB20ife2V3aqmZ20Iddups l/Iz0Xq0ea2oVQpbjQMZXdAd+RE5mRLc6mGlfxTBuOFuOYJZ5xQQWr4Pd+fbaqBKumpZ uXlR5AYu3xSzitb7lfdEt1iBVpXwDP1z1QcQWXlXV9++konrivVXn3WaEoowOd5YxdCL dzlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=AwkDJA9S; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n20-20020a05640204d400b005021f0d1410si11143252edw.32.2023.03.28.01.14.59; Tue, 28 Mar 2023 01:15:24 -0700 (PDT) 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=@infradead.org header.s=casper.20170209 header.b=AwkDJA9S; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229718AbjC1ILK (ORCPT + 99 others); Tue, 28 Mar 2023 04:11:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbjC1ILI (ORCPT ); Tue, 28 Mar 2023 04:11:08 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06D56A2 for ; Tue, 28 Mar 2023 01:11:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=9aiFtdzprt66V5jMsLV13bI+fqreux1yG7PfwIIUbAs=; b=AwkDJA9SUvcC1G2kObOazpuxym JH78yMYjNI8R6xYv4xDGZ1VhknKQ2ZIoygyN4EwCDsYXY2yF2PL9BP+h3yCDjLbqptwZ61Z/tWpNU 2Q9E2SkdQbsPebMK7Hx/6AP0zI4wH2POIirAVxatK/u/+eydYKlxWm5uW6yDgg1RwrMPIdNtLym4y O+XLNG5GnOHPCCp7gmfmj7b+65EdU0N8p1uxOywHXSmQ6aWIzWuA8LCPxhDYT8jsxpatUGe9ajyMV Gndzg/b+PYnU0TGnRg1H7bgBE2EE+lSAdAdKuoM5DUR1UAmq4LzK4tgXzpZ/vcPgjhLMCrj8xA17I vdpnGgQA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1ph4Q6-008Eum-7i; Tue, 28 Mar 2023 08:11:06 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id CDD41300289; Tue, 28 Mar 2023 10:11:05 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id B33162CB744B1; Tue, 28 Mar 2023 10:11:05 +0200 (CEST) Date: Tue, 28 Mar 2023 10:11:05 +0200 From: Peter Zijlstra To: Josh Poimboeuf Cc: x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/5] objtool: Add per-function rate limiting for unreachable warnings Message-ID: <20230328081105.GD4253@hirez.programming.kicks-ass.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Mon, Mar 27, 2023 at 09:00:47AM -0700, Josh Poimboeuf wrote: > Unreachable instruction warnings are rate limited to once per object > file. That no longer makes sense for vmlinux validation, which might > have other unreachable instructions lurking in other places. Change it > to once per function. Do we want a negative option to disable this? --no-ratelimit or such?