From patchwork Fri Jan 13 00:11:13 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: 13099591 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 80564C54EBD for ; Fri, 13 Jan 2023 00:11:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232830AbjAMALn (ORCPT ); Thu, 12 Jan 2023 19:11:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240129AbjAMALj (ORCPT ); Thu, 12 Jan 2023 19:11:39 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC4F950F59; Thu, 12 Jan 2023 16:11:35 -0800 (PST) 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 832D5621E4; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E14C6C433D2; Fri, 13 Jan 2023 00:11:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568694; bh=v3kfTmDwMfPA9Xint1FI2BqTjFB4FQUN1LL/8emmuPw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d6uNflm9Rm7u8C2JOcazN73o27Mc8b4r1r/9WwcXBq3ijw8Ojd/+4wH4FDvAwuhm5 6cWj97Cs6XI1Q2OMhHHbUNSS4k2rJyT8vQFW0aqaMNi2X4U+pLlM7F9OgY0Dh69YYb YEuhoX5yS9U7h5Fya/vZm8KJdahywkioJh6vhPn494eFYytoee3CmMACuOtSDCy3+D JMsgrw35z8Flhq4FErQJV4uyZzry9bsYkoY9YMBclbBWku8QYnxe4OvOiLW1pJHdkU bbjEHtlyQUTxnw+bpwA1LRATJSQykJ7c73B6uPw0ZVTYwW1hzYubjTGH0MUuTgiZ1g FarGMsBFDIzFw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 9626D5C09F1; Thu, 12 Jan 2023 16:11:34 -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" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , x86@kernel.org, John Ogness Subject: [PATCH rcu v2 01/20] arch/x86: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:13 -0800 Message-Id: <20230113001132.3375334-1-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: "H. Peter Anvin" Cc: Reviewed-by: John Ogness --- arch/x86/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 3604074a878b8..4a9175fe7dd18 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -283,7 +283,6 @@ config X86 select RTC_LIB select RTC_MC146818_LIB select SPARSE_IRQ - select SRCU select SYSCTL_EXCEPTION_TRACE select THREAD_INFO_IN_TASK select TRACE_IRQFLAGS_SUPPORT @@ -1938,7 +1937,6 @@ config X86_SGX depends on X86_64 && CPU_SUP_INTEL && X86_X2APIC depends on CRYPTO=y depends on CRYPTO_SHA256=y - select SRCU select MMU_NOTIFIER select NUMA_KEEP_MEMINFO if NUMA select XARRAY_MULTI From patchwork Fri Jan 13 00:11:14 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: 13099607 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 90925C63797 for ; Fri, 13 Jan 2023 00:12:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240690AbjAMAMb (ORCPT ); Thu, 12 Jan 2023 19:12:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240290AbjAMALn (ORCPT ); Thu, 12 Jan 2023 19:11:43 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E5C95DE46; Thu, 12 Jan 2023 16:11:38 -0800 (PST) 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 sin.source.kernel.org (Postfix) with ESMTPS id CB98FCE1FBA; Fri, 13 Jan 2023 00:11:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E78FFC43392; Fri, 13 Jan 2023 00:11:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=jkXE0W2CNP0e27Ckg1RXZA3NItagopfVWSUudCHUD9U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dbj/CuJD9xDxQdyPWfyMl08K0cLhg5VSagcd6Ztf2ZBnWMXB1dlX6QWfECKAk3uyK 4Cyc+6MK8O2PMAY0rj6JWtCk0BlqurrNsYRn6AAfamIFzvPL2TObRRnQEVo8AJy1Ff DjKtqwUTcaEV899A/oRpdKC6AePf/7QowsTVNEo0y6BEbNZFkGsMo1DO7840j4zamF e92enptQIJV6WRSlMFXWps5sxR7KFNYvcLsm8KpA2/Hr4uspO9hw/+55SlcCqGRRzU fD2WsfoFQzj95/pzmYmZvtLBgGA0NGw+ecVBJjBHcB71P+CaRsl2iT2GAFah4MDgWh N+BwOXPiM5MkQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 987685C0AF8; Thu, 12 Jan 2023 16:11:34 -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" , Greg Kroah-Hartman , "Rafael J. Wysocki" , John Ogness Subject: [PATCH rcu v2 02/20] drivers/base: Remove CONFIG_SRCU Date: Thu, 12 Jan 2023 16:11:14 -0800 Message-Id: <20230113001132.3375334-2-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in conditional compilation based on CONFIG_SRCU. Therefore, remove the #ifdef and throw away the #else clause. Signed-off-by: Paul E. McKenney Cc: Greg Kroah-Hartman Cc: "Rafael J. Wysocki" Acked-by: Greg Kroah-Hartman Reviewed-by: John Ogness Acked-by: Rafael J. Wysocki --- drivers/base/core.c | 42 ------------------------------------------ 1 file changed, 42 deletions(-) diff --git a/drivers/base/core.c b/drivers/base/core.c index a3e14143ec0cf..bb36aca8d1b7a 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -181,7 +181,6 @@ void fw_devlink_purge_absent_suppliers(struct fwnode_handle *fwnode) } EXPORT_SYMBOL_GPL(fw_devlink_purge_absent_suppliers); -#ifdef CONFIG_SRCU static DEFINE_MUTEX(device_links_lock); DEFINE_STATIC_SRCU(device_links_srcu); @@ -220,47 +219,6 @@ static void device_link_remove_from_lists(struct device_link *link) list_del_rcu(&link->s_node); list_del_rcu(&link->c_node); } -#else /* !CONFIG_SRCU */ -static DECLARE_RWSEM(device_links_lock); - -static inline void device_links_write_lock(void) -{ - down_write(&device_links_lock); -} - -static inline void device_links_write_unlock(void) -{ - up_write(&device_links_lock); -} - -int device_links_read_lock(void) -{ - down_read(&device_links_lock); - return 0; -} - -void device_links_read_unlock(int not_used) -{ - up_read(&device_links_lock); -} - -#ifdef CONFIG_DEBUG_LOCK_ALLOC -int device_links_read_lock_held(void) -{ - return lockdep_is_held(&device_links_lock); -} -#endif - -static inline void device_link_synchronize_removal(void) -{ -} - -static void device_link_remove_from_lists(struct device_link *link) -{ - list_del(&link->s_node); - list_del(&link->c_node); -} -#endif /* !CONFIG_SRCU */ static bool device_is_ancestor(struct device *dev, struct device *target) { From patchwork Fri Jan 13 00:11:15 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: 13099599 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 14674C67871 for ; Fri, 13 Jan 2023 00:11:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240464AbjAMALx (ORCPT ); Thu, 12 Jan 2023 19:11:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240175AbjAMALm (ORCPT ); Thu, 12 Jan 2023 19:11:42 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF05B5D8A6; Thu, 12 Jan 2023 16:11:37 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 63283B811FF; Fri, 13 Jan 2023 00:11:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEA59C433A7; Fri, 13 Jan 2023 00:11:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=myT394PI0jK3w9+Y5Yr+wETBeUZkki6xDb1CBO26XOM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JcrSReQ6I5UiUeSr97F6GLgeLj+fRWzZUT4wxx1ddKGgLdhcXMjvZCt0EsfR5lVhJ rJJTJfit+sZBEOl6jHh2JE3kvk93y9dagrFKbZMM7/XOVQ2kViI5lJz5+Omthi186N 23O6txmbqvrU4283ZX7uLG6SMTrS4iOzkkc7qSzS6KQFA0F/myvVicocWHQb/mmltS XmvYLPR6/vriWTejAX303miylTUMv7bt9ZUg0AhVig8ZNbbZjl9RBxXmmtomXyAnob rlCTPjPOiWQ/4K6mbDCFDQ8H5JLfSjN4XbqzMYDEqJlsX39FvKz7Pcd970Ap94pgKy pooc6feXb+pFA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 9ABE85C0F2E; Thu, 12 Jan 2023 16:11:34 -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" , "Rafael J. Wysocki" , Viresh Kumar , linux-pm@vger.kernel.org, John Ogness Subject: [PATCH rcu v2 03/20] drivers/cpufreq: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:15 -0800 Message-Id: <20230113001132.3375334-3-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: Acked-by: "Rafael J. Wysocki" Acked-by: Viresh Kumar Reviewed-by: John Ogness --- drivers/cpufreq/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index 2a84fc63371e2..785541df59379 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig @@ -3,7 +3,6 @@ menu "CPU Frequency scaling" config CPU_FREQ bool "CPU Frequency scaling" - select SRCU help CPU Frequency scaling allows you to change the clock speed of CPUs on the fly. This is a nice method to save power, because From patchwork Fri Jan 13 00:11:16 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: 13099593 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 964FDC54EBE for ; Fri, 13 Jan 2023 00:11:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240361AbjAMALo (ORCPT ); Thu, 12 Jan 2023 19:11:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240145AbjAMALk (ORCPT ); Thu, 12 Jan 2023 19:11:40 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EB4A3F440; Thu, 12 Jan 2023 16:11:36 -0800 (PST) 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 AAED3621D8; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F20B1C433AE; Fri, 13 Jan 2023 00:11:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=zptD60J3Cgt8c0EJaqWm6Hr2VBVz43WogJYOiD1uaCA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NeLRKlF0bGaJujtGzLQoo5wOqPOWMj2ogv6jHaUpUKDczJJtA0Fs51mBlLovS1yf3 o7g538PWMJeFU4s/+DJdMZrRGWmhIAWkMDhki0eX+MGoJEBVGeIeXSfoBwSY8vmWyO 5UbEMMANXT6cZJ5HvAIbIOOh5XCTy5FWWarkaVJCMGzhNe7qXAQMiEmlFKfN1e0ehQ aDcVBF6PVIt6c7l+k81P1IKTnbl5yojYnK/xkRzT0gnH6blVw1LmYnP90c43VmmNEZ ejdVQ949m1uHjn2ueTMVa6eFuBOky7bNK06wLDFH2cYbM5mcaUyzpP8VhpzCXsLPAY /QESHRjpYfxig== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 9CB625C10CA; Thu, 12 Jan 2023 16:11:34 -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" , Dan Williams , Vishal Verma , Dave Jiang , nvdimm@lists.linux.dev, John Ogness Subject: [PATCH rcu v2 04/20] drivers/dax: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:16 -0800 Message-Id: <20230113001132.3375334-4-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Dan Williams Cc: Vishal Verma Cc: Dave Jiang Cc: Acked-by: Dan Williams Reviewed-by: John Ogness --- drivers/dax/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/dax/Kconfig b/drivers/dax/Kconfig index 5fdf269a822e5..2bf5123e48279 100644 --- a/drivers/dax/Kconfig +++ b/drivers/dax/Kconfig @@ -1,7 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only menuconfig DAX tristate "DAX: direct access to differentiated memory" - select SRCU default m if NVDIMM_DAX if DAX From patchwork Fri Jan 13 00:11:17 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: 13099592 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 3342EC67871 for ; Fri, 13 Jan 2023 00:11:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240369AbjAMALp (ORCPT ); Thu, 12 Jan 2023 19:11:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239998AbjAMALj (ORCPT ); Thu, 12 Jan 2023 19:11:39 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B49751310; Thu, 12 Jan 2023 16:11:36 -0800 (PST) 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 98195621E2; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA8ADC43396; Fri, 13 Jan 2023 00:11:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=ul1/WKLKiUmVybIxqWnYnRpo2gSfd31L08sVwl6r/bg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sUorwqkTXTL57R+WQaylGCKaAGTRLrwjN6Pin3ea3ZWmx2Rnli50rF75h/vvQTgNV d3rWCunXEFBx4tvmrOQOLL7KCAM/0dTy1c4fwn8Kr06gS6rVnFc4hQdRDQbb6dkeSs ENgjp1GfNPG5grwP2Qp4xzK2ezsdJiUeN/7S/rwalieTEBIgzJqkkJ88WYxL1tTy4V VL44evRX1laMfys93cdGTHrEKOsYS1oFCm/3m7nU9/MtuDZy1WEvpbLln2BugEuaxF 9jIQUcOI8zXGUEGcjcAM3t15tTpTbC4is/hzA+56NrQ7P9Y2BJ2ZzhQNPtpCrtIi+w U+W2icDqfFHoQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 9EECF5C1109; Thu, 12 Jan 2023 16:11:34 -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" , Alexander Shishkin , Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, John Ogness Subject: [PATCH rcu v2 05/20] drivers/hwtracing/stm: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:17 -0800 Message-Id: <20230113001132.3375334-5-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Alexander Shishkin Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: Cc: Reviewed-by: John Ogness Acked-by: Alexander Shishkin --- drivers/hwtracing/stm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hwtracing/stm/Kconfig b/drivers/hwtracing/stm/Kconfig index aad594fe79cc5..eda6b11d40a1f 100644 --- a/drivers/hwtracing/stm/Kconfig +++ b/drivers/hwtracing/stm/Kconfig @@ -2,7 +2,6 @@ config STM tristate "System Trace Module devices" select CONFIGFS_FS - select SRCU help A System Trace Module (STM) is a device exporting data in System Trace Protocol (STP) format as defined by MIPI STP standards. From patchwork Fri Jan 13 00:11:18 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: 13099594 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 B2398C678D4 for ; Fri, 13 Jan 2023 00:11:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240117AbjAMALq (ORCPT ); Thu, 12 Jan 2023 19:11:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240146AbjAMALk (ORCPT ); Thu, 12 Jan 2023 19:11:40 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8428A5B16C; Thu, 12 Jan 2023 16:11:36 -0800 (PST) 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 1C53E621EB; Fri, 13 Jan 2023 00:11:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4808FC43446; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=LyGbrGRKlgQUG/6dRhmrOxWQZAI+7ZeRlrySnO8o+wY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CGz2fCFBpFPtDlfqbl722O++VKcLg5CZhk3XeXgsvT10C/Lk0VXQ2IByAiFnnOpSy gWUmtwgJqL3dAN8LS0BuxIXt59+wTDaQQdeyV1GBG3ENjo3tXaDCIn5qVz8HFOXqxT wH4kyN6ceuuw5zV579pwfsPQMxsu3zUyaJTWU1AD3DnSM9InxH6rmgStmHdokViarP +3+2hvcSjhPoGeD4M9gClP/w/MylYUL7F6i+aLgIyrJCWFZ2JsSq1xX90lJeoIpHKp xjq40rF/U6aF+RMYUIeYJN5cZr/RQovux3mXIcMUCw0JxX1AKmpFTX8KjTo1EmUtvj OJGYcub5PB5ww== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id A0E425C118F; Thu, 12 Jan 2023 16:11:34 -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" , Song Liu , Alasdair Kergon , Mike Snitzer , dm-devel@redhat.com, linux-raid@vger.kernel.org, John Ogness Subject: [PATCH rcu v2 06/20] drivers/md: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:18 -0800 Message-Id: <20230113001132.3375334-6-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Song Liu Cc: Alasdair Kergon Cc: Mike Snitzer Cc: Cc: Reviewed-by: John Ogness Acked-by: Mike Snitzer --- drivers/md/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index 998a5cfdbc4e9..5f1e2593fad7e 100644 --- a/drivers/md/Kconfig +++ b/drivers/md/Kconfig @@ -6,7 +6,6 @@ menuconfig MD bool "Multiple devices driver support (RAID and LVM)" depends on BLOCK - select SRCU help Support multiple physical spindles through a single logical device. Required for RAID and logical volume management. From patchwork Fri Jan 13 00:11:19 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: 13099606 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 21C8AC67871 for ; Fri, 13 Jan 2023 00:12:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240657AbjAMAM3 (ORCPT ); Thu, 12 Jan 2023 19:12:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240282AbjAMALn (ORCPT ); Thu, 12 Jan 2023 19:11:43 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F32E5DE44; Thu, 12 Jan 2023 16:11:38 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id EEDEBB8203A; Fri, 13 Jan 2023 00:11:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47E97C43398; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=cTMHlhoolXwxR+XWJBWwI7YWwhu4f9xOx3xMf+RE4lA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pTZivndYQVJZ7qcUIoycYCQuR3FWm4j4olw3ymlzBFIWDmypktz+JBWgUZyG37z/h 9TOoTAntfGOC6CwehiC/RIn3QVh54uR9LANH38Hc9BrLXqwXmEFFjJ1GybFGZN9qJ2 p/nt9DApSWtPO2U2vINfXjBFPdEXTzfCk3OSPwC1HDRNFU3fKntGLe2bhtwK5o3Ajz 62N2tfEN2+7J5ZTMhaG2VtqXFMkJJPZQaHuevHhtdiMR8xkK0Hy8cn6qFDnFsPFNyp rA6QLyCi5QUCoZHusJcTL8202gfEJ/v8zPPqjZxxFatURUvPFNAGP+O2LfgQaY+ZOS sN8PGszh/4Ojw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id A2C0C5C11A4; Thu, 12 Jan 2023 16:11:34 -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" , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, John Ogness Subject: [PATCH rcu v2 07/20] drivers/net: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:19 -0800 Message-Id: <20230113001132.3375334-7-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni Cc: Acked-by: Jakub Kicinski Reviewed-by: John Ogness --- drivers/net/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 9e63b8c43f3e2..12910338ea1a0 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -334,7 +334,6 @@ config NETCONSOLE_DYNAMIC config NETPOLL def_bool NETCONSOLE - select SRCU config NET_POLL_CONTROLLER def_bool NETPOLL From patchwork Fri Jan 13 00:11:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13099608 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 70095C54EBD for ; Fri, 13 Jan 2023 00:12:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240696AbjAMAMb (ORCPT ); Thu, 12 Jan 2023 19:12:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240277AbjAMALn (ORCPT ); Thu, 12 Jan 2023 19:11:43 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E239228; Thu, 12 Jan 2023 16:11:38 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id D93E3B8203F; Fri, 13 Jan 2023 00:11:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CC89C4331D; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=OLEBLqHH4bCdLtcu6EWaCDE8DoFoBtvYvEr/xhgnxAA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bPoaqT1FehOp1LBHAmkfdd4LFvYnB2WCJuO9nk0LRxttWsQZcsqs1Lb31Px+MZssC 7LowPRVcwUDUnzSq+xvfNyu8U4euiESns26jfBaGsdZoCNjhVU98MmYHgVyP/mdimF vvWuZOoZ8tINYJnzvmZ2HLt780zdkU4ibkOOSHWVTh9VBg12SHodnrAnZw8APD47vS 8Uc9RP1K/Cb27OESL0jS44ZGk6qB/r+wWEP1csW9EXRklmYD2hyVD0FfQF/eMuN0fp mjWfUgG7WaiIjnnJG/1dSFTPVakVOdBnTfV74Et5Gnpohjjq+bvEamPUOqXEQYDvUM OXpWx2CWuIT9Q== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id A49985C13DF; Thu, 12 Jan 2023 16:11:34 -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" , Lorenzo Pieralisi , Rob Herring , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Bjorn Helgaas , linux-pci@vger.kernel.org, John Ogness Subject: [PATCH rcu v2 08/20] drivers/pci/controller: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:20 -0800 Message-Id: <20230113001132.3375334-8-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Lorenzo Pieralisi Cc: Rob Herring Cc: "Krzysztof Wilczyński" Cc: Bjorn Helgaas Cc: Acked-by: Lorenzo Pieralisi Reviewed-by: John Ogness --- drivers/pci/controller/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig index 1569d9a3ada0b..b09cdc59bfd02 100644 --- a/drivers/pci/controller/Kconfig +++ b/drivers/pci/controller/Kconfig @@ -258,7 +258,7 @@ config PCIE_MEDIATEK_GEN3 MediaTek SoCs. config VMD - depends on PCI_MSI && X86_64 && SRCU && !UML + depends on PCI_MSI && X86_64 && !UML tristate "Intel Volume Management Device Driver" help Adds support for the Intel Volume Management Device (VMD). VMD is a From patchwork Fri Jan 13 00:11:21 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: 13099595 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 06D7DC54EBD for ; Fri, 13 Jan 2023 00:11:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240388AbjAMALr (ORCPT ); Thu, 12 Jan 2023 19:11:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240087AbjAMALk (ORCPT ); Thu, 12 Jan 2023 19:11:40 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA7DD2196; Thu, 12 Jan 2023 16:11:36 -0800 (PST) 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 37015621E7; Fri, 13 Jan 2023 00:11:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DECEC4331E; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=fHoR4awBBwDobL/5OpE5v/VOKzkbb2pwjwCxM8iuNdc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fvxZF9yNUhj1bZlIh2FFp/QWWmY8978MvkoYvggqN2rxsQ4WQwkuKO25w6bVb+6KY 6HVnkJfSRyecbTMq18WoPOgui5GHjdAfyXrcbkyxFfH2o9s9mrjAs6zEtVD7b2YUWV 5nh+crS9RfDP2xBD527PDNRcj6WvL/CqZDvnNJyW/hpmLZWB/e1Mv7ox0FIYUbg0XQ goRmKs1MhJCVy6LJEh+Na69LzgSGjlrraW3lpQhNEtknUMi4+Z4PbkJXbJfDKRvt6v zgOj3DyibRetiyui7PYLB5tTNmitPHDLu1Vh4cb1FIluxMNqzdPMuLIKYHKsDGqFB0 uEQ44Gx5LSv8Q== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id A66815C17DC; Thu, 12 Jan 2023 16:11:34 -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" , Jeff Layton , Chuck Lever , Alexander Viro , linux-fsdevel@vger.kernel.org, John Ogness Subject: [PATCH rcu v2 09/20] fs: Remove CONFIG_SRCU Date: Thu, 12 Jan 2023 16:11:21 -0800 Message-Id: <20230113001132.3375334-9-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in conditional compilation based on CONFIG_SRCU. Therefore, remove the #ifdef and throw away the #else clause. Signed-off-by: Paul E. McKenney Cc: Jeff Layton Cc: Chuck Lever Cc: Alexander Viro Cc: Reviewed-by: John Ogness Reviewed-by: Jeff Layton --- fs/locks.c | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/fs/locks.c b/fs/locks.c index 8f01bee177159..1909a9de242c8 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1889,7 +1889,6 @@ int generic_setlease(struct file *filp, long arg, struct file_lock **flp, } EXPORT_SYMBOL(generic_setlease); -#if IS_ENABLED(CONFIG_SRCU) /* * Kernel subsystems can register to be notified on any attempt to set * a new lease with the lease_notifier_chain. This is used by (e.g.) nfsd @@ -1923,30 +1922,6 @@ void lease_unregister_notifier(struct notifier_block *nb) } EXPORT_SYMBOL_GPL(lease_unregister_notifier); -#else /* !IS_ENABLED(CONFIG_SRCU) */ -static inline void -lease_notifier_chain_init(void) -{ -} - -static inline void -setlease_notifier(long arg, struct file_lock *lease) -{ -} - -int lease_register_notifier(struct notifier_block *nb) -{ - return 0; -} -EXPORT_SYMBOL_GPL(lease_register_notifier); - -void lease_unregister_notifier(struct notifier_block *nb) -{ -} -EXPORT_SYMBOL_GPL(lease_unregister_notifier); - -#endif /* IS_ENABLED(CONFIG_SRCU) */ - /** * vfs_setlease - sets a lease on an open file * @filp: file pointer From patchwork Fri Jan 13 00:11:22 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: 13099600 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 0AE69C54EBD for ; Fri, 13 Jan 2023 00:11:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240478AbjAMALy (ORCPT ); Thu, 12 Jan 2023 19:11:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240159AbjAMALl (ORCPT ); Thu, 12 Jan 2023 19:11:41 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F4B05D6BF; Thu, 12 Jan 2023 16:11:37 -0800 (PST) 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 46976621EE; Fri, 13 Jan 2023 00:11:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50897C43321; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=u2HBlljfPn8Ri/yAwyLtuZNtCtHOAcW5KH7Mkb084Zc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S02HWytAsHZnBWpX/Nh0sql12ycvEfPCpERqe0tpOjZIIDAMeQNTh1pm3WADHpvAZ FiQUlMf7+D1alQORWKjoq3oeIvZr/Z0w43a2ufpRap5JtP6a1N68p4sfxiFWRfIWkK 74vIMqj5WxmIw27fVl6MuocLZG94SH/wtagiYay6G4P8vi/J63WaebjJN9ZtqtSjD1 RDuTNYZT0YRktzdxf1F2rU+nSVZFmaTFFulGljSVXpAnS35W8VD/hS0QcQsthe8bby 7vPavA/Q0YmIPASeNMOtG3YGAtuwrcrmkOFH/y6/Jw6LYr4wEmlNbw8PanyJuyDx29 ZUI2a7n96oAeQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id A84175C1931; Thu, 12 Jan 2023 16:11:34 -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" , Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org, Qu Wenruo , John Ogness Subject: [PATCH rcu v2 10/20] fs/btrfs: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:22 -0800 Message-Id: <20230113001132.3375334-10-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Chris Mason Cc: Josef Bacik Cc: David Sterba Cc: Acked-by: David Sterba Reviewed-by: Qu Wenruo Reviewed-by: John Ogness --- fs/btrfs/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig index 183e5c4aed348..37b6bab90c835 100644 --- a/fs/btrfs/Kconfig +++ b/fs/btrfs/Kconfig @@ -17,7 +17,6 @@ config BTRFS_FS select FS_IOMAP select RAID6_PQ select XOR_BLOCKS - select SRCU depends on PAGE_SIZE_LESS_THAN_256KB help From patchwork Fri Jan 13 00:11:23 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: 13099604 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 D1253C54EBD for ; Fri, 13 Jan 2023 00:12:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240582AbjAMAMQ (ORCPT ); Thu, 12 Jan 2023 19:12:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240224AbjAMALn (ORCPT ); Thu, 12 Jan 2023 19:11:43 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 620305DE45; Thu, 12 Jan 2023 16:11:38 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 08AE8B82040; Fri, 13 Jan 2023 00:11:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53217C43322; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=72gsX++wxmeErw7ndj3rGwNCVseeQh9C5570FRccUS4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z+/a1vhY7SZ+TndOVS8pLfR2WIZBPXxo1LJm3s34Aa8HHINjeOCM+WZxDolkgOAT7 vgHH5nvpoeWkVyPMpixJKe3XfB69O060tRbi4JitrajwqRLsY9cMpLtQAjepa/SiWg ojYmgd700WPRrhmxpzyHlZrm11M5rxRwiStAeZWfTq/tcMJ+E7WFBJJHS8+A9+Ti7b OOW3a6WWaZ2/9cVfo+A8OIDIs2YNAX8/T3yTMlBrSJ4GWax33l5mqTzuf/PSzEJUCs v0TkfiB8xRP+jjSF/XfFbINC+ZqCmymX+zEeIejMNrYzpPmh/1J++xjU4Tdd0Izuvt +ogIrvtRX0xeQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id AABED5C1C63; Thu, 12 Jan 2023 16:11:34 -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" , Christine Caulfield , David Teigland , cluster-devel@redhat.com, Anup Patel , John Ogness Subject: [PATCH rcu v2 11/20] fs/dlm: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:23 -0800 Message-Id: <20230113001132.3375334-11-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Christine Caulfield Cc: David Teigland Cc: Acked-by: Anup Patel Reviewed-by: John Ogness --- fs/dlm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/dlm/Kconfig b/fs/dlm/Kconfig index 1105ce3c80cbd..b3b86dbdc1878 100644 --- a/fs/dlm/Kconfig +++ b/fs/dlm/Kconfig @@ -4,7 +4,6 @@ menuconfig DLM depends on INET depends on SYSFS && CONFIGFS_FS && (IPV6 || IPV6=n) select IP_SCTP - select SRCU help A general purpose distributed lock manager for kernel or userspace applications. From patchwork Fri Jan 13 00:11:24 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: 13099598 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 32B46C54EBD for ; Fri, 13 Jan 2023 00:11:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232377AbjAMALu (ORCPT ); Thu, 12 Jan 2023 19:11:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240098AbjAMALl (ORCPT ); Thu, 12 Jan 2023 19:11:41 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F5045D882; Thu, 12 Jan 2023 16:11:37 -0800 (PST) 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 48A35621F0; Fri, 13 Jan 2023 00:11:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55B86C4331F; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=TSW+es/7mkqAin48GNIt/poHNpNOZUx5YOK9cMi3/Gw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kjyN1Y0m32N4ojq8b/3ykrHnZGjjwMz+qydoynbf+gotzOgANkkno5y+fxLkZ0P73 egs+6qQZLwtCRZ/UOGiIGjRlepjuNILJ2fg7CzdHiDFjDQCYfO0YCU31hsvWmV7n/B xjCfuWbk9LNlCXMifRar6JkbRqoJG7Z0EvAn7lX0samxGnfLeLTpmF//tyJegzNbvA IHnB9J/vBMzahW7dvthSdgRwAnnf+x215CiGk9eIH4FwKmiPCLe4+xHiWIUf4fzqjq NJLb9FAO+N+HHChbt/nJFkprMlsav7pakWvRRo6H4TjT4ugcuL2lducvA2jUhY/6zg BhdWHoNcaeWOQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id AC7FD5C1C65; Thu, 12 Jan 2023 16:11:34 -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" , Jan Kara , Amir Goldstein , linux-fsdevel@vger.kernel.org, John Ogness Subject: [PATCH rcu v2 12/20] fs/notify: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:24 -0800 Message-Id: <20230113001132.3375334-12-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Jan Kara Cc: Amir Goldstein Cc: Acked-by: Jan Kara Reviewed-by: John Ogness --- fs/notify/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/notify/Kconfig b/fs/notify/Kconfig index c020d26ba223e..c6c72c90fd253 100644 --- a/fs/notify/Kconfig +++ b/fs/notify/Kconfig @@ -1,7 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only config FSNOTIFY def_bool n - select SRCU source "fs/notify/dnotify/Kconfig" source "fs/notify/inotify/Kconfig" From patchwork Fri Jan 13 00:11:25 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: 13099609 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 B5C0CC54EBD for ; Fri, 13 Jan 2023 00:12:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240706AbjAMAMc (ORCPT ); Thu, 12 Jan 2023 19:12:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239969AbjAMALo (ORCPT ); Thu, 12 Jan 2023 19:11:44 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AD625DE51; Thu, 12 Jan 2023 16:11:39 -0800 (PST) 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 sin.source.kernel.org (Postfix) with ESMTPS id D746DCE1FCC; Fri, 13 Jan 2023 00:11:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5AB2DC43324; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=wRbexw5jnaHrbh9n8mN2FpRr5IUUSVBu5XxkrsWfwno=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uogPZF70alJN72ZhI7hM13HuMZa7CZKAKyxOc350SAWSN5kF3wqT8SQhyL0MOrx2T CaXAuBQkqmlrbyqVwZqH6kEQiJ6PCzH2bZwaY9Ddk4wKaPsz35mzlNRFdyPDa6Sl4c 8A53znSetjFXLrgzeuH/XAKYaqA4YYlw6V83jcmGsr+MfuQEzRyHUT3CVnq7HjUfFS fXoziNWiQ4lC+UN/uhKV8VGpLxfTb4DDt0qjJgfdcgI1w4cYrSSc3TWsIe+gUvx3eQ M/7DIK0ic5j49dZfCICre8Kg9lj7kMswnMCYmEpPy9DNe+TC6mY1GFQG3Kfolp3XcG JJRIP0knb2n1Q== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id AE3985C1C6D; Thu, 12 Jan 2023 16:11:34 -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" , Jan Kara , Jan Kara , John Ogness Subject: [PATCH rcu v2 13/20] fs/quota: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:25 -0800 Message-Id: <20230113001132.3375334-13-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Jan Kara Acked-by: Jan Kara Reviewed-by: John Ogness --- fs/quota/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/quota/Kconfig b/fs/quota/Kconfig index b59cd172b5f97..d5a85a8062d05 100644 --- a/fs/quota/Kconfig +++ b/fs/quota/Kconfig @@ -6,7 +6,6 @@ config QUOTA bool "Quota support" select QUOTACTL - select SRCU help If you say Y here, you will be able to set per user limits for disk usage (also called disk quotas). Currently, it works for the From patchwork Fri Jan 13 00:11:26 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: 13099596 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 B0F9CC67871 for ; Fri, 13 Jan 2023 00:11:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240399AbjAMALs (ORCPT ); Thu, 12 Jan 2023 19:11:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240157AbjAMALl (ORCPT ); Thu, 12 Jan 2023 19:11:41 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 100B35D88D; Thu, 12 Jan 2023 16:11:37 -0800 (PST) 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 641E0621F5; Fri, 13 Jan 2023 00:11:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A6FCC4332E; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=EPx4NI4SnQIYpuk6f4BT3N8/Q5mAKMMyvAOGKB1rvzo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I1IS7DxYWlfvkuK48uPApDo4Hcm1WwHsWAlZ9ufyBitIveZdewwuy4ueYtPwn+ZWl +1xLLkBXsKIKlEEWanClp3zHahIFGDsDQIYcz2UwcLT2fBD1Ky8sM3DesSElvNqkzS qanXrUxh45S5AMGrIbGEOOE0qno5pEjwIN920qQrIunMkfHvWy4QCRBslv5FQTwQnW fPV3FuULqzn5/f1YjjFh11Vu2UaNguQtaHxrJQwhSCBlmPrnQniZ5XLTIMu+3AahM0 UECPCA+T1t1+FggjRiGVB02w+rqnGo0ynVPB4DitKRUmTlZMLXt5m92Z8YLUKexAEk mzNB40q61b5XQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B03735C1C74; Thu, 12 Jan 2023 16:11:34 -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" , Andrew Morton , Nick Desaulniers , Masahiro Yamada , Johannes Weiner , Vlastimil Babka , Nathan Chancellor , Arnd Bergmann , Miguel Ojeda , Masami Hiramatsu , Dmitry Torokhov , Aaron Tomlin , Tejun Heo , Christophe Leroy , John Ogness Subject: [PATCH rcu v2 14/20] init: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:26 -0800 Message-Id: <20230113001132.3375334-14-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Andrew Morton Cc: Nick Desaulniers Cc: Masahiro Yamada Cc: Johannes Weiner Cc: Vlastimil Babka Cc: Nathan Chancellor Cc: Arnd Bergmann Cc: Miguel Ojeda Cc: Masami Hiramatsu Cc: Dmitry Torokhov Cc: Aaron Tomlin Cc: Tejun Heo Cc: Christophe Leroy Reviewed-by: Nick Desaulniers Reviewed-by: John Ogness --- init/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/init/Kconfig b/init/Kconfig index 7e5c3ddc341de..af511c726d695 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1865,7 +1865,6 @@ config PERF_EVENTS default y if PROFILING depends on HAVE_PERF_EVENTS select IRQ_WORK - select SRCU help Enable kernel support for various performance events provided by software and hardware. From patchwork Fri Jan 13 00:11:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13099605 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 7A4F1C63797 for ; Fri, 13 Jan 2023 00:12:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240589AbjAMAMR (ORCPT ); Thu, 12 Jan 2023 19:12:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240232AbjAMALn (ORCPT ); Thu, 12 Jan 2023 19:11:43 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E24B51183D; Thu, 12 Jan 2023 16:11:38 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 87B99B8203D; Fri, 13 Jan 2023 00:11:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75EFCC43333; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=ayQf6/xuyFF/w9FwFq9nQMwEr/uyhaCZ6dQYnnXBdS0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Pu1GHzx6RhryUp+w67SMaQOzUnW4yEqUj5+ss639mrruDEt7nk5aGgfivBAZXPuwh SZe+c6EEGOHwFDTDNltElL2Y1p+dmq5X8mK8iL2SyOot0p3ZIsbTmeUfaKdxftZLTj jhG7k38wBltfpGOYJvIQH4EbgYfCOTxCn9zp0fhEnYI1LjaBCKA9OSAfT+Idq/LzJD Jd3Icev0UPGhGH3+0os5umGJbSOQCKZE5KvhUjYxOJZcP58yEfzNoPBUU4AkUDRmY0 uA3MT8Drm3cQelgkC28D8Sj8VUgeVlkb/FRO1afsyepH7tW2N0hiSLFiFsEeqVz05G 0azsh9dHR98xQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B2AD25C1C79; Thu, 12 Jan 2023 16:11:34 -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" , "Rafael J. Wysocki" , =?utf-8?b?TWljaGHFgiBN?= =?utf-8?b?aXJvc8WCYXc=?= , Borislav Petkov , Alan Stern , John Ogness Subject: [PATCH rcu v2 15/20] kernel/notifier: Remove CONFIG_SRCU Date: Thu, 12 Jan 2023 16:11:27 -0800 Message-Id: <20230113001132.3375334-15-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in conditional compilation based on CONFIG_SRCU. Therefore, remove the #ifdef. Signed-off-by: Paul E. McKenney Cc: "Rafael J. Wysocki" Cc: "Michał Mirosław" Cc: Borislav Petkov Cc: Alan Stern Reviewed-by: John Ogness Acked-by: Rafael J. Wysocki --- kernel/notifier.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/notifier.c b/kernel/notifier.c index ab75637fd904f..d353e4b5402d7 100644 --- a/kernel/notifier.c +++ b/kernel/notifier.c @@ -456,7 +456,6 @@ int raw_notifier_call_chain(struct raw_notifier_head *nh, } EXPORT_SYMBOL_GPL(raw_notifier_call_chain); -#ifdef CONFIG_SRCU /* * SRCU notifier chain routines. Registration and unregistration * use a mutex, and call_chain is synchronized by SRCU (no locks). @@ -573,8 +572,6 @@ void srcu_init_notifier_head(struct srcu_notifier_head *nh) } EXPORT_SYMBOL_GPL(srcu_init_notifier_head); -#endif /* CONFIG_SRCU */ - static ATOMIC_NOTIFIER_HEAD(die_chain); int notrace notify_die(enum die_val val, const char *str, From patchwork Fri Jan 13 00:11:28 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: 13099610 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 229B9C67871 for ; Fri, 13 Jan 2023 00:12:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240712AbjAMAMe (ORCPT ); Thu, 12 Jan 2023 19:12:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240327AbjAMALo (ORCPT ); Thu, 12 Jan 2023 19:11:44 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B854B1BD; Thu, 12 Jan 2023 16:11:40 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 9B834B82046; Fri, 13 Jan 2023 00:11:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1A3CC43339; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=0JjRZ97KOFPDAmYeRjByYudJlUdg5gu25llTIyJbPjg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U8kOG2btaQ2VkXvOsbYSlW/ZOCrAtvFmC1cjoy/McM2aZNhkOIlABtQfccjAuloBN dRHJtxWNPzTp7j7VQeBHyLj3+wlBzOELAXc23IbvsePITOdPhlPIrG7xzDA0M/nLP5 fQA1DAt+g10PqG7d9jh40Vvq+yeUyIAiqe6vzGipUE+IsNpcdxuYxOO0GB2hANNv0F T98sevEBWZKkcIpA5T42nFi3GXXvi94DzrRml6JqOrorzskoro2QtO6iILWmT9lYsr vLSJQ2TkLgCvWGvMVB7/IlS5cTenhdzT5sjh2Bqw213WFO4putr0PKL/ZpxLO87+Rk mAo3mbhd2dxZQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B427C5C1C85; Thu, 12 Jan 2023 16:11:34 -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" , "Rafael J. Wysocki" , Len Brown , Pavel Machek , linux-pm@vger.kernel.org, John Ogness Subject: [PATCH rcu v2 16/20] kernel/power: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:28 -0800 Message-Id: <20230113001132.3375334-16-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: "Rafael J. Wysocki" Cc: Len Brown Cc: Pavel Machek Cc: Acked-by: "Rafael J. Wysocki" Reviewed-by: John Ogness --- kernel/power/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 60a1d3051cc79..4b31629c5be4b 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -118,7 +118,6 @@ config PM_SLEEP def_bool y depends on SUSPEND || HIBERNATE_CALLBACKS select PM - select SRCU config PM_SLEEP_SMP def_bool y From patchwork Fri Jan 13 00:11:29 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: 13099597 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 B9B23C67871 for ; Fri, 13 Jan 2023 00:11:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240437AbjAMALv (ORCPT ); Thu, 12 Jan 2023 19:11:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237238AbjAMALm (ORCPT ); Thu, 12 Jan 2023 19:11:42 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1778C5D890; Thu, 12 Jan 2023 16:11:37 -0800 (PST) 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 74E48621F6; Fri, 13 Jan 2023 00:11:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A170EC433A1; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=YNy/FPQS0HeM82XwxaRNWoyFc0EffAZsMlBW5Yo8/P4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NqdK+jfoGUI65x597t41tbtfe06xKqWTBDDs8bJL+l5zavqN9LiUXjCV+wj2GPFmB xwDksh31ywWNnd3mJc0stgOFMwV7Mj+mv4IjwnbWZ1Xmev4EcoERmCG2WuVbKNcpOP sAVwrnJbfbzeTopOp+MZuC6RCzUaw8gW5claSWggVmiMIkU/UzRrSDrswL9yTrPPXy 5qMuTgZn0RysilBsINc+xI05jVqPxyx0XLZwloZ53l4AOTHqZ4imjESUaBVUSxcnAB JRYbAV4ODNVPke7QTBC2FddCc57XnZAjfeYoXjPngsdzlIn67ZQMAmpnysO5NuktNx ygghL9eq8cLNw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B61075C1C8C; Thu, 12 Jan 2023 16:11:34 -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" , Huacai Chen , Aleksandar Markovic , Thomas Bogendoerfer , Michael Ellerman , Christophe Leroy , Sean Christopherson , Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , kvm@vger.kernel.org, Marc Zyngier , Anup Patel , Heiko Carstens , John Ogness Subject: [PATCH rcu v2 17/20] kvm: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:29 -0800 Message-Id: <20230113001132.3375334-17-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements from the various KVM Kconfig files. Signed-off-by: Paul E. McKenney Cc: Huacai Chen Cc: Aleksandar Markovic Cc: Thomas Bogendoerfer Cc: Michael Ellerman Cc: Christophe Leroy Cc: Sean Christopherson Cc: Paolo Bonzini Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: "H. Peter Anvin" Cc: Acked-by: Marc Zyngier (arm64) Acked-by: Michael Ellerman (powerpc) Acked-by: Anup Patel (riscv) Acked-by: Heiko Carstens (s390) Reviewed-by: John Ogness Reviewed-by: Sean Christopherson --- arch/arm64/kvm/Kconfig | 1 - arch/mips/kvm/Kconfig | 1 - arch/powerpc/kvm/Kconfig | 1 - arch/riscv/kvm/Kconfig | 1 - arch/s390/kvm/Kconfig | 1 - arch/x86/kvm/Kconfig | 1 - 6 files changed, 6 deletions(-) diff --git a/arch/arm64/kvm/Kconfig b/arch/arm64/kvm/Kconfig index 05da3c8f7e88f..312f0e9869111 100644 --- a/arch/arm64/kvm/Kconfig +++ b/arch/arm64/kvm/Kconfig @@ -28,7 +28,6 @@ menuconfig KVM select KVM_MMIO select KVM_GENERIC_DIRTYLOG_READ_PROTECT select KVM_XFER_TO_GUEST_WORK - select SRCU select KVM_VFIO select HAVE_KVM_EVENTFD select HAVE_KVM_IRQFD diff --git a/arch/mips/kvm/Kconfig b/arch/mips/kvm/Kconfig index 91d197bee9c0a..591f46a5d7be1 100644 --- a/arch/mips/kvm/Kconfig +++ b/arch/mips/kvm/Kconfig @@ -26,7 +26,6 @@ config KVM select HAVE_KVM_VCPU_ASYNC_IOCTL select KVM_MMIO select MMU_NOTIFIER - select SRCU select INTERVAL_TREE help Support for hosting Guest kernels. diff --git a/arch/powerpc/kvm/Kconfig b/arch/powerpc/kvm/Kconfig index a9f57dad6d916..902611954200d 100644 --- a/arch/powerpc/kvm/Kconfig +++ b/arch/powerpc/kvm/Kconfig @@ -22,7 +22,6 @@ config KVM select PREEMPT_NOTIFIERS select HAVE_KVM_EVENTFD select HAVE_KVM_VCPU_ASYNC_IOCTL - select SRCU select KVM_VFIO select IRQ_BYPASS_MANAGER select HAVE_KVM_IRQ_BYPASS diff --git a/arch/riscv/kvm/Kconfig b/arch/riscv/kvm/Kconfig index f36a737d5f96d..6bc9b290c1283 100644 --- a/arch/riscv/kvm/Kconfig +++ b/arch/riscv/kvm/Kconfig @@ -27,7 +27,6 @@ config KVM select KVM_XFER_TO_GUEST_WORK select HAVE_KVM_VCPU_ASYNC_IOCTL select HAVE_KVM_EVENTFD - select SRCU help Support hosting virtualized guest machines. diff --git a/arch/s390/kvm/Kconfig b/arch/s390/kvm/Kconfig index 33f4ff909476c..45fdf2a9b2e32 100644 --- a/arch/s390/kvm/Kconfig +++ b/arch/s390/kvm/Kconfig @@ -31,7 +31,6 @@ config KVM select HAVE_KVM_IRQ_ROUTING select HAVE_KVM_INVALID_WAKEUPS select HAVE_KVM_NO_POLL - select SRCU select KVM_VFIO select INTERVAL_TREE select MMU_NOTIFIER diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index fbeaa9ddef598..9306d99585188 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -46,7 +46,6 @@ config KVM select KVM_XFER_TO_GUEST_WORK select KVM_GENERIC_DIRTYLOG_READ_PROTECT select KVM_VFIO - select SRCU select INTERVAL_TREE select HAVE_KVM_PM_NOTIFIER if PM help From patchwork Fri Jan 13 00:11:30 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: 13099603 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 6CE5BC54EBD for ; Fri, 13 Jan 2023 00:12:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240526AbjAMAMA (ORCPT ); Thu, 12 Jan 2023 19:12:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240210AbjAMALm (ORCPT ); Thu, 12 Jan 2023 19:11:42 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBA075D8BC; Thu, 12 Jan 2023 16:11:37 -0800 (PST) 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 DFF456220E; Fri, 13 Jan 2023 00:11:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4C5CC4333D; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=ARE5BFVaVppRxywGryZ74nx46BxsePEDvEb629mD45A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rRHB9Y4dHFj2Ms0T2fEPrTN5McPyZ45mFflZLvAChrb127N7SYaj2rXjg/s7uae9t NnifRlR8Wc/js9l1qa4WDOXyU673M9PQ/xh326FAYJGRKRKJ4//D1N9tq2lt6HVaTE pZLTbWD0MX/CEf22Eox27KzHxL22Aod75GefyLjdSpMCaJoRYnKtYE8CzIiBA9L0iq xvB3ZjifpFOjBHJyXbnxfOkcxB3Hjf8h6sYwOnFxf2OeWRq3MrWXLko0f3+LXNCe7Q TFdlBwfDCMOCXM3G0kaXkpAoBif2fhsM280fSqrlnaVZAL0U7Prm7y8wf5x8aOGz0x ovgVMtpwt9RKg== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B81CF5C1C9F; Thu, 12 Jan 2023 16:11:34 -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" , linux-mm@kvack.org, John Ogness Subject: [PATCH rcu v2 18/20] mm: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:30 -0800 Message-Id: <20230113001132.3375334-18-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Andrew Morton Cc: Reviewed-by: John Ogness --- mm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/Kconfig b/mm/Kconfig index ff7b209dec055..dc660775b7d3f 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -667,7 +667,6 @@ config BOUNCE config MMU_NOTIFIER bool - select SRCU select INTERVAL_TREE config KSM From patchwork Fri Jan 13 00:11:31 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: 13099601 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 59913C54EBE for ; Fri, 13 Jan 2023 00:12:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240500AbjAMAL4 (ORCPT ); Thu, 12 Jan 2023 19:11:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240147AbjAMALm (ORCPT ); Thu, 12 Jan 2023 19:11:42 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB1065D8B5; Thu, 12 Jan 2023 16:11:37 -0800 (PST) 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 75629621F8; Fri, 13 Jan 2023 00:11:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4C1BC4333B; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=a+uHzF3ftrhu03vhyGE1GGZJhFSl240uKQNg7uObNq0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CAgOW7vex+ciCSbrcKe8mLcxjKiLczRbAQV5b9bKwi0+OPtjYiT8btE5jC0aYRf8H 37Psnqhjhrn1i4ztWAOkCajlguuD5eclmrk9MKvSQqeZNCLUz1z2jnS/DZ120GTo2O ID7wA/kR+BdRCoatdNNnnJYDQiB3GgFwgdwtzGHDgvfqhlD+kpSJelHs802rFGVoLB 0Q5S4ljC4OYfCklgjb9YFEjTcJbRwVbTmOf6Eg4XQj6gk6m021g/dYDQ0aBCTRAYOi Nzy4evUPiRT3EJJByGvhpcBDHVoB5D3QcW0uQ7A7kJePdjqBcHxYa1tURasPzzHF39 KYnCoWNWNG3CA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B9EB35C1CB0; Thu, 12 Jan 2023 16:11:34 -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" , Kentaro Takeda , Tetsuo Handa , Paul Moore , James Morris , "Serge E. Hallyn" , linux-security-module@vger.kernel.org Subject: [PATCH rcu v2 19/20] tomoyo: Remove "select SRCU" Date: Thu, 12 Jan 2023 16:11:31 -0800 Message-Id: <20230113001132.3375334-19-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Now that the SRCU Kconfig option is unconditionally selected, there is no longer any point in selecting it. Therefore, remove the "select SRCU" Kconfig statements. Signed-off-by: Paul E. McKenney Cc: Kentaro Takeda Cc: Tetsuo Handa Cc: Paul Moore Cc: James Morris Cc: "Serge E. Hallyn" Cc: Cc: --- security/tomoyo/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/security/tomoyo/Kconfig b/security/tomoyo/Kconfig index b9f867100a9ff..a9796b4003124 100644 --- a/security/tomoyo/Kconfig +++ b/security/tomoyo/Kconfig @@ -6,7 +6,6 @@ config SECURITY_TOMOYO select SECURITYFS select SECURITY_PATH select SECURITY_NETWORK - select SRCU select BUILD_BIN2C default n help From patchwork Fri Jan 13 00:11:32 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: 13099602 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 2DC07C63797 for ; Fri, 13 Jan 2023 00:12:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240392AbjAMAL7 (ORCPT ); Thu, 12 Jan 2023 19:11:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240200AbjAMALm (ORCPT ); Thu, 12 Jan 2023 19:11:42 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E469F5D8BF; Thu, 12 Jan 2023 16:11:37 -0800 (PST) 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 917BB621FF; Fri, 13 Jan 2023 00:11:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD342C4333C; Fri, 13 Jan 2023 00:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673568695; bh=UDe46kmvGKh/94AkLoKQ4CWieFrtLxYGYLFUP7JKd6Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IWRzNQlPaUoYAKDMYZDZlvXLhzA/Qy//sa6+Tw5eoeloWo4VasCNeE963jYxMVKNt c978Qdbz42BcLIuIQQkmfUUgwtdzVNOQCD/IXgbco8boOqeRy7f9ae9sCNLl8b3yeG 5KR+4AiHPQvQh/0zfaFPjnjwngMjkgtgyvwlCyr+z98r080N3t0rPGlRLfTBZNMtFt C8dgV43+hL1AVRJAg0nVwqee5pXy5lo9Km97yoGBLPeBQjADztY4X3G7vwFplMaOsx qe+90GI+Dz95qcFbi0WT4mNX/bxlL9eCpB/eE71P9NhkogFrEZtrjCb9uR6stkpxpt 1lEHPmpope+YA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id BBF0A5C1CB1; Thu, 12 Jan 2023 16:11:34 -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" , John Ogness , Petr Mladek Subject: [PATCH rcu v2 20/20] rcu: Remove CONFIG_SRCU Date: Thu, 12 Jan 2023 16:11:32 -0800 Message-Id: <20230113001132.3375334-20-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> 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 ab62074174c32..9071182b1284b 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 42acb1a64ce10..3f5fb66f16df7 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