From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B975EC32793 for ; Wed, 18 Jan 2023 13:10:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Tb5tt2jSVjGdOZ8j75Nzo6nUZgxCFMg7hZu0l1r9C24=; b=lu6pdjhx4rRMzk 1D/3h/7Z641xNQB8c/uO0+CAGrQ8gGJoDvEa7VdJgzCFKcd2LLoTQHyrQQggtvLnI3bNtAJZtOMKM DdrjhSfic5KursBnnL+AnUzGpBwdca6q7WiPh87s08EHMFEts9Qo/2eCoH0ST3TlHcWVh3tWn9ICm RKYizNV7WcK4NwNaCuH5EZOd5kjOyIltHxB4zWAX5IY78sBWEaPyGpI5WovFRSlT5bsFTjw9VJ1Wu yFcZbTJAU69xl3ag1a2ry9248rv+a+G7n+FYgOecriIs2NEjPsCTmi5ecGf76Hs2JNVAYXQDi8SQA s9tQSj1x0mT78cuCxuNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pI8Bz-0014Tv-Cc; Wed, 18 Jan 2023 13:09:27 +0000 Received: from galois.linutronix.de ([2a0a:51c0:0:12e:550::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pI8Bw-0014St-A1 for linux-arm-kernel@lists.infradead.org; Wed, 18 Jan 2023 13:09:26 +0000 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1674047362; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/6TzDShPYUNhKSU2xPYdtTZMZX/aEdeeSUD3KZBBydU=; b=ZhAjyVrqwVngYKwtheIJfVNwxQmS9uVXWR0gRK08TYomkEtNgb3u3+LN/9zg04hgZ6clfq MRReHEto9s5y6J/buGPwvTWEgh4qEOOTk6Msb8h9y1oK0eljwB5p8hhkGtv9KSOntnxXhc NAtgSUNCPh0Dm63vb2EVbREry3gKEcJ0SfSeygbQP1UbqC9g3/S766hX7R5tG1cuxVmTV5 QBJbbv770/wNOKgLI954c9YNaJV194Xl4iacOUTCAV+8SazK50/Q320e6LbOGlwSKSoGmt OE9EmM+7ZA8TsxLXROdt3Ssm9Bn7QeOKtUI2zCuLyyCjs2Pb16UHfsXH7YyBoA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1674047362; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/6TzDShPYUNhKSU2xPYdtTZMZX/aEdeeSUD3KZBBydU=; b=/qObata+kcBzO4TB56IOdgKgFcxEk9ZLP3fzlG0WDJgqiEKiI+uZ2uJ8XvMscADLovljyh 6N4opwSGTDvnWTDg== To: Johan Hovold Cc: Johan Hovold , Marc Zyngier , x86@kernel.org, platform-driver-x86@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Hsin-Yi Wang , Mark-PK Tsai Subject: Re: [PATCH v4 19/19] irqdomain: Switch to per-domain locking In-Reply-To: References: <20230116135044.14998-1-johan+linaro@kernel.org> <20230116135044.14998-20-johan+linaro@kernel.org> <87mt6gkez4.ffs@tglx> Date: Wed, 18 Jan 2023 14:09:22 +0100 Message-ID: <87o7qwhtvh.ffs@tglx> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230118_050924_505193_59FAB31E X-CRM114-Status: GOOD ( 15.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jan 18 2023 at 10:51, Johan Hovold wrote: > On Tue, Jan 17, 2023 at 10:50:39PM +0100, Thomas Gleixner wrote: >> On Mon, Jan 16 2023 at 14:50, Johan Hovold wrote: >> > The IRQ domain structures are currently protected by the global >> > irq_domain_mutex. Switch to using more fine-grained per-domain locking, >> > which may potentially speed up parallel probing somewhat. >> >> Does it or not? >> >> If not then why adding all this churn for no real value? > > It probably doesn't make much difference, but Marc wanted per-domain > locking: > > > I'd really like to avoid a global mutex. At the very least this should > > be a per-domain mutex, otherwise this will serialise a lot more than > > what is needed. Sure it serializes more than what is needed, but the real question is whether it matters. If it does not matter then I prefer KISS over a just because we can optimization. Thanks, tglx _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel