From nobody Mon Feb 9 11:47:59 2026 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 AF953299A8C; Mon, 3 Nov 2025 07:19:12 +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=1762154352; cv=none; b=DFbPcNnZZ0W99K2uTkdsmddKUfzzU37WLiuJWPG39110Wc2NkcpzLeb2RmKSLgD1rn4koQDalnVRpThrCck9fPGkqsiJdwAWlOjR5mdz1kVN0Vt0JpkvgWzHydKk6yr7hlfJoYwWsUbWBV8Zqhd93nP3fhwSl8PIhjY0dPpILqg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762154352; c=relaxed/simple; bh=updO0Qt60cves0NEScBOtRbVWMjNNxOri0JDFrV2Fxs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KbRIAbhVzTvdpapmGcYRnaq9qRG8WSPgj8Nq+N8bdkd/J/jfkyDn0sLGEiufmW/mtKi5MKQLPRddB/1BXN87opHd7kaXILVz9fRW9X2QEzC8jhgqnAWeHqM2ha5ypVQ1ULNBTYB93fB722pI91SpR3xbhEkM1x91VqLKSYDpTD8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pIVZl0oM; 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="pIVZl0oM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A3EBC116C6; Mon, 3 Nov 2025 07:19:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1762154352; bh=updO0Qt60cves0NEScBOtRbVWMjNNxOri0JDFrV2Fxs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pIVZl0oMMdIyNWJE59R29h1WVUaMv79Jf4uFwY/len7oVj60uaEmMRQFH0SE7G2CU g7p+h8yN/7CsJkBlYx/nAqapTxUEnyDNsYzwW16EpF6FXcZuxAVx1XKwHDGTjuOxZx FfozfNZY6E1CXHc6LOSIRpWh2QyERP/xZb1s1F9UrY04kS+0SMbfzHljd4bxIA5Hbx VjqX3LRfL315O8LdJfcUJ5kcozW17U4T2k8v0i0lWU8KhIOAfk4zaunPg/Rkufqp7D 3RAsv5IZa36pfSRHOM334SgqL3p5M3t0Ch4JibNPID4NS1rPe0JVhQaFHfyVtkdYKM +DOGKSDJVt74A== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id C5F53CE19AC; Sun, 2 Nov 2025 15:07:01 -0800 (PST) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Joe Perches , Andy Whitcroft , Dwaipayan Ray , Lukas Bulwahn , Andrii Nakryiko , Alexei Starovoitov , Peter Zijlstra , bpf@vger.kernel.org Subject: [PATCH 7/9] checkpatch: Deprecate rcu_read_{,un}lock_trace() Date: Sun, 2 Nov 2025 15:06:57 -0800 Message-Id: <20251102230659.3906740-7-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Uses of rcu_read_lock_trace() and rcu_read_unlock_trace() are better served by the new rcu_read_lock_tasks_trace() and rcu_read_unlock_tasks_trace() APIs. Therefore, mark the old APIs as deprecated. Signed-off-by: Paul E. McKenney Acked-by: Joe Perches Cc: Andy Whitcroft Cc: Dwaipayan Ray Cc: Lukas Bulwahn Cc: Andrii Nakryiko Cc: Alexei Starovoitov Cc: Peter Zijlstra Cc: --- scripts/checkpatch.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index e722dd6fa8ef..3bb7d35a5cfc 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -860,6 +860,8 @@ our %deprecated_apis =3D ( "kunmap" =3D> "kunmap_local", "kmap_atomic" =3D> "kmap_local_page", "kunmap_atomic" =3D> "kunmap_local", + "rcu_read_lock_trace" =3D> "rcu_read_lock_tasks_trace", + "rcu_read_unlock_trace" =3D> "rcu_read_unlock_tasks_trace", ); =20 #Create a search pattern for all these strings to speed up a loop below --=20 2.40.1