From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.ilvokhin.com (mail.ilvokhin.com [178.62.254.231]) (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 7DD313E95A1 for ; Mon, 16 Mar 2026 18:57:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.62.254.231 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773687462; cv=none; b=eJrJQ28yJ8Ci1jWpcIUKMyD3KXx6v+jJrhmUgPtq6gKoacdn31knR9r/vZlgvesD8IsjjrHfGhPXjstrMTvMIfcBIz/ZAJ1yNAPcnj2Um8l1VxiImwo9LoNYZQ5jjZTBy8tky7uHOdCpQgq8UNf7jrJkyGTdJRkknJlLPVHtnQY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773687462; c=relaxed/simple; bh=wdz10SQ3uxRhI8Ln1h3hEOJmptdixdXESGrGrgw1IGQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jxOZSbAintVtXKnrSfDnn6/HSylwRcjWf+0P1UqpMIz6F/ll7ekMl7v2TCDO46YMdFw46rYl3Ym0OP+S/x5/hp+VsHk1VJFNT0HmHvkxe34mJOELOKQ/7Az/J3vRbNWqLZRhL2nNIG9oNkWlp4XzfFGRSBYM0UaAzKUXUYNWo6A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ilvokhin.com; spf=pass smtp.mailfrom=ilvokhin.com; dkim=pass (1024-bit key) header.d=ilvokhin.com header.i=@ilvokhin.com header.b=cM/bpD1v; arc=none smtp.client-ip=178.62.254.231 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ilvokhin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ilvokhin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ilvokhin.com header.i=@ilvokhin.com header.b="cM/bpD1v" Received: from shell.ilvokhin.com (shell.ilvokhin.com [138.68.190.75]) (Authenticated sender: d@ilvokhin.com) by mail.ilvokhin.com (Postfix) with ESMTPSA id C8E6BB3C7A; Mon, 16 Mar 2026 18:57:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilvokhin.com; s=mail; t=1773687458; bh=nt27PQuMMqqiTOA1CtEYoSEaFRV97bKAz26Hvk7acrU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=cM/bpD1v4WVeDFbd5DTKyb6mmxlO/v4fpxWg5HAIu1M7cECXV9S8j+ajXrSzDPG+c h7psQItU4sLWsHern3A4+SFV+Vr48WVv6vNIOLhBEQgZ7Tzxka81SCtGp/dgxObXL3 AMCQp4MKzH8+KozW871CMA3IyWycvmYqGvumhMnE= Date: Mon, 16 Mar 2026 18:57:37 +0000 From: Dmitry Ilvokhin To: Thomas Gleixner Cc: LKML , x86@kernel.org, Neil Horman Subject: Re: [patch 07/14] genirq: Calculate precision only when required Message-ID: References: <20260303150539.513068586@kernel.org> <20260303154548.435226377@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260303154548.435226377@kernel.org> On Wed, Mar 04, 2026 at 07:55:58PM +0100, Thomas Gleixner wrote: > Calculating the precision of the interrupt number column on every initial > show_interrupt() invocation is a pointless exercise as the underlying > maximum number of interrupts rarely changes. > > Calculate it only when that number is modified and let show_interrupts() > use the cached value. > > Signed-off-by: Thomas Gleixner Reviewed-by: Dmitry Ilvokhin