From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796153120; b=IIAcOVCkLTL5fSJOXnTXxPDFuj+XEF4H3TUEFzVNtNhsY50i9nQTWcDJ2F3uMBcCSHDX Rhovnzhl7HQjz44uZNGFbv1ZTbwkc2RQ7VPtS0us7zrVLMYeNxhDyjX1N/YDp9iSbUrC3 a5Cv0A0FDRGelm4rFvm5l9ZHYAiLdSJ6VWDjrxvpOgFtxgAayrbOWVPlXYSZu3/1XnQ9O auwPnLIhsNwNwpzICZzPIFZUCS+FHSVYMaO5WwDUHgLY+DDcSDWASz5SbFvN0c3+mJ40a YURS8JjdqS5NkkIS+bs+Los5KZygAgNxH4bKcBWoB4VLuTGp2fxhziiYdRAshLE0WFw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796153120; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=CktmAte0G21L3XLwvrJpZ+zvfqOfZW3Tb9UaoBygX8A=; b=uIh3NZTpLXogrWcjnEiEK4dBD692T04hGuy3WnYMtaomo9PpOkN/nym2qv7PSfaAP//G Vb3CrEorLGCFCWXWaChp6BHioKDDSVSaxG0UkFR4kshFKMM8wb0tqUu4UNWNs1i6qycb8 9rphF6mco4wodMVBhcmfHa+7tuk/h/NfGWLvj3PVv/0TGbqcYcZTfq1QnICG5TlDvR7eB kRL1hBghK06TXxIeyAejEJnQZrOidrfT8yLe/3sTSQrbUhhqhtnXuj9UhHV5sMINAOmpG Nvd0V2cz+r9RsxS3EOlMiGJCUJlB6dxb06saFQGfX6wdJ/nmsYdsJ54e0WC0R3xCZCA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="Nxts/x5S"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8FF93606A31A; Tue, 1 Dec 2026 19:25:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Nxts/x5S Received: by smtp.kernel.org (Postfix) with ESMTPSA id A43B61F00893; Tue, 1 Dec 2026 19:25:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796153119; bh=CktmAte0G21L3XLwvrJpZ+zvfqOfZW3Tb9UaoBygX8A=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Nxts/x5SaJq6YHguND9K8NQsnrifJJ8JSC4tC+rhqrHRdOgef/fk5cOLmOI/5ryte jzMhb0R2BRSbYG6/Z9kYkhtoVmKPKUGhgxdXQ617mBUXKlhLQdc5oi37jQ1IM3gNNw DesSWlMtzjnh4+UponMVW/4+v+wwbWtigFajjwkulrZMD5ure8Q1IK3iDJPVufsHHf B7P4b950rlI2+S34g82ujbKOIwpJQUL8/Y26rwidrQw/KIeVo2PvwuLmlkdYkpN7DJ NGFSOXcJqMs/u0SvuAapQOidLPdgy8Ic8071vakYlcHNPGrwsSUaNWDvwzRrPIWBk0 B4U/5KJdaPaAA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] rcu-tasks-trace: Let TASKS_TRACE_RCU_NO_MB default on without RCU_EXPERT Reply-To: sashiko-reviews@lists.linux.dev To: "Josef Bacik" Cc: bpf@vger.kernel.org, linux-trace-kernel@vger.kernel.org In-Reply-To: <179614881389.4.17347597738097573591@bacik.io> References: <179614881389.4.17347597738097573591@bacik.io> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 19:25:19 +0000 X-Mailing-List: bpf@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] rcu-tasks-trace: missing Fixes: trailer for TASKS_TRACE_RCU_NO_MB default fix -- commit d71d7e9e103039a6b076033176283fcd4cbeaded Author: Josef Bacik > rcu-tasks-trace: Let TASKS_TRACE_RCU_NO_MB default on without RCU_EXPERT > > TASKS_TRACE_RCU_NO_MB defaults to ARCH_WANTS_NO_INSTR, on the grounds > (see 1a72f4bb6f3e) that architectures with noinstr entry code only ever > run tracing where RCU is watching and so can dispense with the read-side > smp_mb() in rcu_read_lock_trace() and friends. But the option also > depends on RCU_EXPERT, and a Kconfig default is not applied to a symbol > whose dependencies are unmet, so on an ordinary RCU_EXPERT=3Dn build of > such an architecture the option is simply absent and every Tasks Trace > reader pays for two full barriers that the architecture does not need. > > Keep the prompt behind RCU_EXPERT, so that overriding the default in > either direction remains an expert decision, but let the default itself > apply unconditionally. On x86-64 and arm64 defconfig this turns the > barriers off, as intended; architectures without ARCH_WANTS_NO_INSTR > are unchanged. > > Signed-off-by: Josef Bacik > Reviewed-by: Paul E. McKenney [Severity: Low] This fixes the TASKS_TRACE_RCU_NO_MB Kconfig default when RCU_EXPERT is not enabled. Should this include: Fixes: 1a72f4bb6f3e ("rcu: Add noinstr-fast rcu_read_{,un}lock_tasks_trac= e() APIs") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/179614881389.4.1734= 7597738097573591@bacik.io?part=3D1