From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A7A4D313550 for ; Tue, 13 Jan 2026 09:31:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768296664; cv=none; b=oWqJFXOxr4w0sehf8ttbqEh3gyCOdILMOmIFZAwGqEQp/Y3NOwHOL9pOVivfDfP80JgAbuJFzOlGBhdzF97kpQmUGEjJQAWBvXiRnBfhT+h6epZpiyucB5L/WR+ZBoSYRYXS1MMawbrb26i9+2qRRigKwEa7j61socKX+xZFb3w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768296664; c=relaxed/simple; bh=lqXnP6pzGRc0HXxLi5MINSlZCsXCdvwolkZt3O9boiA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=uxPckLF4cVpedlWo6KidKnA5/RBnZHFNF/pzP7SrDfFa1cXu7vytKBG4BY3zOjndLuyBpFLlBZDMOf4gFtLRs+4gpy8aOB/BNtBQcMiGkuIHBfJDeu9nIP/ju4e9y8fo96LVKV1IfJdNbnEzE1+epG6IauN7Rl96qwFwJfQFpiQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Md1HtkHT; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Md1HtkHT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA6E2C116C6; Tue, 13 Jan 2026 09:31:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768296664; bh=lqXnP6pzGRc0HXxLi5MINSlZCsXCdvwolkZt3O9boiA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Md1HtkHTM5kzMVNr7uxCTCJ5O96G+nxWtP9BqIOpd7wh+e0M4FxKGGDOnP6IBolBC QZl84jWGqnJQmwUFN/EecRoGmb9ionD9+SgDc8+XrKaP7/8kmnANMu+QYR/G2enWG+ wAXBXrsRga3V+QEOSVqHSjxONiSW0QTwhxLiH6ZZrZH1UrPOsi5Rm9XhinnGrq13Vt fhXvbMx30JUn15X+sRBOsCl5txHGSGGUs4wp85rki64j1+OXgur3WYX1XcaPfamjlk SOkmXyiVRxOcozx0LnqQGuz5ITl8IAm4ox/I926yjsw0Xn2BoYDVUAKzpHOt7h7QXT mQ/NON16VTMLg== From: Thomas Gleixner To: Luigi Rizzo Cc: Eric Dumazet , Marc Zyngier , Luigi Rizzo , linux-kernel Subject: Re: [PATCH v2] genirq: move clear of kstat_irqs to free_desc() In-Reply-To: References: <20260112083234.2665832-1-lrizzo@google.com> <874iopg9pl.ffs@tglx> Date: Tue, 13 Jan 2026 10:31:01 +0100 Message-ID: <87v7h5eu5m.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 Tue, Jan 13 2026 at 10:21, Luigi Rizzo wrote: > On Tue, Jan 13, 2026, 10:09 Thomas Gleixner wrote: >> Right, though it really does not matter unless you deeply care about: >> >> alpha, arc, hexagon, m68k, mips, parisc, sparc, xtensa and random old >> ARM32 platforms :) >> > > Purely academic question: I suppose the lock is just to make sure that > there isn't anyone currently using the descriptor before marking it > disabled; but is it really needed, or by the time the function is called it > is already known that it is not in use anymore? It's still accessible through the array and while it's probably irrelevant, I have no intention to audit all the legazy architecture code for random abuse. At least the removed itanium code did nasty things with them behind the core. Thanks, tglx