Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1405976rwb; Fri, 13 Jan 2023 11:50:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXvjyM//KRJCcem39wltLY8CGXUUAkq27tErn3qYHj9mQAGBo2KvANe7pAwtv0f+Mrt1JRG3 X-Received: by 2002:a17:90a:7341:b0:225:f7b3:aebf with SMTP id j1-20020a17090a734100b00225f7b3aebfmr65970261pjs.30.1673639420225; Fri, 13 Jan 2023 11:50:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673639420; cv=none; d=google.com; s=arc-20160816; b=uP7pYioLOX0PiomGs8ykUf78ygomVerIMkj4Da1WtlLZz4+knmFgshQR2+ThryyDKv gqcD/H8MKpl37pj3S2kdbAXHZ2z7ZeX/c40o/P37aDdTCE2HxLclzG4MhtBSyt4YGxDF qeN52YN/LbAvxWXRiJB/cVCGbrehcrmvYW3h+PJEmjQULUmP+8av5egCIOW2IlSIeDjs Ari0g50MQPPgSNMxckrfdoHrV8MEIXCF7STbcq170KK3RbZWzgZ6hYjOoL2SiHIGf7Fe tN8PXW3e5iBLiL5YILeIz9+8RX1PULoP49keI1TKbQJsB6q5rgQ47bvYM75oWhNFLNXG s7zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=0UPCZbEvUmAN02MG6DIi+Lt4zGb/ecqQDPH13IwcW30=; b=F6JoE3yxvEPXssoJ0cQ4vwtFFMRq2QrUP8BB8wpIhb3Bz+c5+JU/0FvrqHsSIQsRyw sA1UyOveTyO0r4exjZmikzYI8SHosnM1vougU0tV3LY+J3jpKofWVZ6EpJKA6D9MN2kI 4wvxbpbNiB66u+ZT4idM1LiHMUAys8qtVQWc64+BhgFV/i7537qaPALI9vkXwCYvSN8r aCOaWOhNS7226xVtANpsoaihP88u85vNf5hQMA3Wfm7wf8QjVSfJbUUMtWxsupcnljci ao2qEDCWgBGgkP4KTy107zup1mvZvsYmjrxQlJfNTcrnmQm1c+HQML5Ofk4UjaCym7eN wcsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tOe7T6zr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d23-20020a17090ad99700b0022915b6dd7asi3998470pjv.145.2023.01.13.11.50.13; Fri, 13 Jan 2023 11:50:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tOe7T6zr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231262AbjAMTn2 (ORCPT + 52 others); Fri, 13 Jan 2023 14:43:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231144AbjAMTmt (ORCPT ); Fri, 13 Jan 2023 14:42:49 -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 2F3D68A21C; Fri, 13 Jan 2023 11:42:11 -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 DB1E7B821AC; Fri, 13 Jan 2023 19:42:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 726D1C433EF; Fri, 13 Jan 2023 19:42:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673638928; bh=i5SPJ9ruDKdO5PXYBwEMgHw4eQ3C0NHYLRm6fxx4hbc=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=tOe7T6zrHqmhtikKHhD2/Tk53HWJzJD7S0mB40dvvplRG5gksdW+mnEbAb2mnFXZm Wq/mf81WAoR8E9v1vMJimY26ahEjgol080MbIKUHpixETGL30GlunSvKNNU/K/i2XQ 9SM2szylTpDzRVMivfEbstB0teX/eH9uYiyFNGvA/RUEVAFAF+/RtGlRqA1f6dTqF6 pfNyzkvB3lHG4te1oxeujIrClz45lM9ksLKR2qBO6OLPtBpR+EU6uvumTA2M/cbsh+ MguU4c5N2++dYSgbzcoIno3sxLWAaQi1pqQ2421OhNLu367Uk5qLGR/oiymoEXSuOZ 59TpV2nl7P9cA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 155B55C06D0; Fri, 13 Jan 2023 11:42:08 -0800 (PST) Date: Fri, 13 Jan 2023 11:42:08 -0800 From: "Paul E. McKenney" To: "Wysocki, Rafael J" Cc: rcu@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , Borislav Petkov , Alan Stern , John Ogness Subject: Re: [PATCH rcu v2 15/20] kernel/notifier: Remove CONFIG_SRCU Message-ID: <20230113194208.GE4028633@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <20230113001103.GA3374173@paulmck-ThinkPad-P17-Gen-1> <20230113001132.3375334-15-paulmck@kernel.org> <608756bb-3012-e02c-5b16-04314cdc9889@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <608756bb-3012-e02c-5b16-04314cdc9889@intel.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 13, 2023 at 12:25:48PM +0100, Wysocki, Rafael J wrote: > > On 1/13/2023 1:11 AM, Paul E. McKenney wrote: > > 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 Thank you! I will apply both of your acks on my next rebase. Thanx, Paul > > --- > > 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,