From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9868433032B for ; Thu, 21 May 2026 20:46:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779396409; cv=none; b=ZZo05ldK5gKua1dnjDQ9IYy6Q5sATNl7G9wRibgCigWjDSPkC2GaPWihgVFSFeVsEUmriHLV9RC/HCzEk7Hl/Q+cJNnc8KXuvAgANsy3dbSw3U9g9O+mGXZVU6mhnGJs6D0UGm3ewjRbizAdGLrJu/HUogj9+1QlhbTS2VVhiBA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779396409; c=relaxed/simple; bh=agXRfXdAHCocSJ1FHXG8xM2BnafBq0POXkjC4g/98yU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=d7BohzurHU1FYoOhM+aXHAm3HnmSYxtQ7npQZ7htzr70n5R+1IlfJYP3oBgAlmX/p/lu+OWV0ScOWdxP0X8npBiNxgsYzUza6mJVeWG+Z5D70cUKc4g6UQVbv2X7d1M32UonnYCbIZ8Li8n4Ptt7XvAM+OwKcF/yRfdi9OWDQgk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WppzHcf8; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WppzHcf8" Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id 4E7541F00A3B; Thu, 21 May 2026 20:46:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1779396398; bh=vLB7QrVDSEJg304l1LzTifwUplDIoxpHSg4P5nxmOc8=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=WppzHcf82u2E5F2FOSDE6+aYOx0sv6W3Gqv+58UDFCBPjRfyd6orzYcLQwUrK4pAX iwazixA2bvsC3v7JhSvctNoa2gJT+pfTE3IwrqSYpBzCvx3lZ0wscNUsLyW0ZbISJY MnZhEu3IqhK4ayqQPB30x5voLbZD1eBOGLJoM8YOWSMEBHsG4XWPU3oX8OSlGeDF5y 18rkBQrbqXQYorfOvqp16f5Kf8gtx0KsA/wXtwyvL6kaBj/k+cmk8+Olz93pHIWjHo RiLxogACiUGW2fX8EqWHNIe3so43GO827+SnZ+59vjI1YTyC1pVD2hEOLeglQDrCSb AABcgVobM5yDg== From: Thomas Gleixner To: Shrikanth Hegde , LKML Cc: x86@kernel.org, Michael Kelley , Dmitry Ilvokhin , Radu Rendec , Jan Kiszka , Kieran Bingham , Florian Fainelli , Marc Zyngier Subject: Re: [patch V6 05/16] x86/irq: Suppress unlikely interrupt stats by default In-Reply-To: References: <20260517194421.705253664@kernel.org> <20260517194931.276486277@kernel.org> Date: Thu, 21 May 2026 22:46:34 +0200 Message-ID: <87ik8gv6c5.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Thu, May 21 2026 at 21:22, Shrikanth Hegde wrote: > On 5/18/26 1:31 AM, Thomas Gleixner wrote: >> for (unsigned int i = 0; i < ARRAY_SIZE(irq_stat_info); i++, info++) { >> - if (info->skip_vector) >> + if (!test_bit(i, irq_stat_count_show)) >> continue; > > If this is done, then those lines will be absent in /proc/interrupts right? > > If there was a tool expecting these entries, it will fail get to see that entry. > Is that ok? I checked the obvious tools and they don't care. They have no expectations of what's there as that varies due to Kconfig settings, architectures etc. Thanks, tglx