Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp534776pxw; Fri, 8 Apr 2022 14:06:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDEyBBQyRsUwbyx8K6BVjWDbUFA7DFc9f35xWIJSziN7wkDQRy78iF5qXG4Gy/U1knRIHS X-Received: by 2002:a17:90b:384c:b0:1cb:1b44:2939 with SMTP id nl12-20020a17090b384c00b001cb1b442939mr10319290pjb.46.1649452005078; Fri, 08 Apr 2022 14:06:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649452005; cv=none; d=google.com; s=arc-20160816; b=XI9ItEY+C2X6aBWiN4WLe4GEVCRpY5ooQIZu9EonhB0hWXCHdQB3JvUKRKMhycCKr0 c682MNv1I3lT+HOAnT7vYi8+3LM5t4/Ywij+r7mlmZ5ONY3dsxEvr+epqlPepV254Ais DfhwQny8I0xh/0N1aMYUOIV//Pihn+P/k4l8k1/a5tR5vV++avhwO4vsrwJcm3L2onov jhv/de1ISMnJLovIdVYjOSLU32l97C1DiHNvs+dhuTwDUW3rf8pFMTibZc8Nvkt5+6if yYmPKjXYTpn6IvG1pIzIa61E635pS0uqZb8GhOQqzxCv90pylycnOA7BLNuXihIBdXV/ U3xg== 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-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=FiSkSBhzPe8YtgTJwtpGzIJXmcwmXZ3cECBBhmefN7g=; b=wOjohm4olXKpqOo3gfqeNLeFDU9SCHnsev0g8+MazpYiNEp4vbx5ec8UBM3l51/7/n nGrO46psm93wo/+hFDqMafXui6cmKeV2auxbaFxmE50OCx+UJKJbjvt+OaDpNbVtmgYE 1tOhLOHU/LcCu2GO4wzQmhwrr55DWasAfQ954Ux04mtV9OcgBntvOKHwio6ZFOlnQBEU okDD7VefeMKfbyoOlwNEOXVdyMl1QOeiIh6n6JoEUB24unssJwSi5q1bNXSAK6JncY+v kjxc3LkZhKNPO/8o3uHtGFSlectgM3vxbQu7a2Q51FRVv0NxmucL12uA7lcEatYKR+1k CzoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hofeAaby; 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 i3-20020aa78d83000000b004fb0c7ab1easi1832660pfr.302.2022.04.08.14.06.31; Fri, 08 Apr 2022 14:06:45 -0700 (PDT) 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=hofeAaby; 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 S236820AbiDHQAr (ORCPT + 99 others); Fri, 8 Apr 2022 12:00:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231631AbiDHQAm (ORCPT ); Fri, 8 Apr 2022 12:00:42 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECEF6AE6A; Fri, 8 Apr 2022 08:58:37 -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 sin.source.kernel.org (Postfix) with ESMTPS id 428C6CE2A4D; Fri, 8 Apr 2022 15:58:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98943C385A1; Fri, 8 Apr 2022 15:58:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649433514; bh=0w7CX4PrjpdyKdIGRRbs32uv6uKXSuvOdR768kCHqEc=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=hofeAabyDR6ibecdIuTeVv4ItV78H+h3JySoIZU/YELvkfkhJsWqckY9RabMpVXRh FbOqk2qW6ggGrXszDGlIavBvL2hI5CpappCPwb8dVLBc7ZXhFVmHmRY0zvpYWt9ftL FncN++P7beuG4N3bSPS52bIbDrIDVoxchA54f10HreJpRTHBP2JN7nRzyRMFsd7lBV 0QwGDlj0/SQUkTBT+KhQR5MeHpvl9xCQRgQl369iN6Fra//GU8e+Rl4bBxXe1Gn+Ww WA/VcHDOcyhkapwuf5IiWgFRoejxUo8iv9uHKL+XzcMjWBHGl2yl0o3qjMeocmRa12 8oS6lWbUVxz2A== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 34DAB5C0176; Fri, 8 Apr 2022 08:58:34 -0700 (PDT) Date: Fri, 8 Apr 2022 08:58:34 -0700 From: "Paul E. McKenney" To: Steven Rostedt Cc: Joel Fernandes , Kalesh Singh , Suren Baghdasaryan , kernel-team , Tejun Heo , Tim Murray , Wei Wang , Kyle Lin , Chunwei Lu , Lulu Wang , Frederic Weisbecker , Neeraj Upadhyay , Josh Triplett , Mathieu Desnoyers , Lai Jiangshan , rcu , LKML Subject: Re: [PATCH v2] EXP rcu: Move expedited grace period (GP) work to RT kthread_worker Message-ID: <20220408155834.GI4285@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <20220408045734.1158817-1-kaleshsingh@google.com> <20220408113946.056c083e@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220408113946.056c083e@gandalf.local.home> 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,T_SCC_BODY_TEXT_LINE 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, Apr 08, 2022 at 11:39:46AM -0400, Steven Rostedt wrote: > On Fri, 8 Apr 2022 06:21:03 -0400 > Joel Fernandes wrote: > > > > + default !PREEMPT_RT && NR_CPUS <= 32 > > > > What is the benefit of turning it off on PREEMPT_RT, even if > > PREEMPT_RT does not use expedited GPs much post-boot? I would think in > > the future if PREEMPT_RT ever uses expedited GPs, they would want this > > feature even more. I'd rather be future-proof now as I don't see any > > advantages of disabling it on !PREEMPT_RT (And a drawback that the fix > > won't apply to those systems). Also will keep the config simple. > > The default kthread priority is 1. This should not affect PREEMPT_RT, as > PREEMPT_RT users are usually more concerned by the performance of their > higher priority tasks. Priority 1 is not considered an issue. > > I do not see why PREEMPT_RT is special here. Why was it singled out? Because I didn't see the point of doing kthread_create_worker() to create a pair of kthread_worker structuress that were never going to be used in PREEMPT_RT kernels. Or are PREEMPT_RT kernels no longer booting with rcupdate.rcu_normal? Last I knew, they all did this to avoid IPI latencies from expedited grace periods. Has this changed? Thanx, Paul