From patchwork Fri Mar 24 20:52:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13187373 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A687DC76196 for ; Fri, 24 Mar 2023 20:52:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231903AbjCXUw4 (ORCPT ); Fri, 24 Mar 2023 16:52:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232173AbjCXUwz (ORCPT ); Fri, 24 Mar 2023 16:52:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0838E1F921; Fri, 24 Mar 2023 13:52:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6DB3A62CBB; Fri, 24 Mar 2023 20:52:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCAC2C4339C; Fri, 24 Mar 2023 20:52:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679691170; bh=xIAddEU+WGJoAW1SFrSP2UY+CCmqTszBpgMeGVI0lfg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L4/mf/Vz1MXwNW+y2oksjjjQ0HcTksqllOBJR7WW0rohnVh76lN9INkPCzhDyuh6A mDZ31Le3u7n6QTM0ayeQoEFvkJk+3W6xJfMh2XIHDnD66dCxVpSOuKpMXWE2ADHdd8 9pQW/G37rCsWIxvwFHhJtihwXeUooPa+A1gWkvkh0eb2KAdiOG5UDR4oaSO4SOEsEt 2g9AV/Nm9kLRTHl1PSvOrTaSJzawFSIQYG8t61X+hDh1NJqNks0oUyY5GMIszTeE70 7hSviQWJWB0CiHo+CXElGzovu0nu6E0Ods8JJKz+qC0MPiwv1PuLvw6yttlwIOP9E7 XXS9dwbvJkJLw== Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 590BB1540437; Fri, 24 Mar 2023 13:52:50 -0700 (PDT) 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" , John Ogness , Petr Mladek Subject: [PATCH rcu v3 4/4] rcu: Remove CONFIG_SRCU Date: Fri, 24 Mar 2023 13:52:49 -0700 Message-Id: <20230324205249.3700408-4-paulmck@kernel.org> X-Mailer: git-send-email 2.40.0.rc2 In-Reply-To: <8ae81b0e-2e03-4f83-aa3d-c7a0b96c8045@paulmck-laptop> References: <8ae81b0e-2e03-4f83-aa3d-c7a0b96c8045@paulmck-laptop> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that all references to CONFIG_SRCU have been removed, it is time to remove CONFIG_SRCU itself. Signed-off-by: Paul E. McKenney Cc: John Ogness Cc: Petr Mladek Reviewed-by: John Ogness --- kernel/rcu/Kconfig | 3 --- tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt | 4 ---- 2 files changed, 7 deletions(-) diff --git a/kernel/rcu/Kconfig b/kernel/rcu/Kconfig index ab62074174c3..9071182b1284 100644 --- a/kernel/rcu/Kconfig +++ b/kernel/rcu/Kconfig @@ -53,9 +53,6 @@ config RCU_EXPERT Say N if you are unsure. -config SRCU - def_bool y - config TINY_SRCU bool default y if TINY_RCU diff --git a/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt index 42acb1a64ce1..3f5fb66f16df 100644 --- a/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt +++ b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt @@ -71,9 +71,5 @@ CONFIG_TASKS_RCU These are controlled by CONFIG_PREEMPT and/or CONFIG_SMP. -CONFIG_SRCU - - Selected by CONFIG_RCU_TORTURE_TEST, so cannot disable. - boot parameters ignored: TBD