From mboxrd@z Thu Jan 1 00:00:00 1970 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 C123FC433EF for ; Fri, 8 Apr 2022 15:39:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237706AbiDHPmB (ORCPT ); Fri, 8 Apr 2022 11:42:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237687AbiDHPlz (ORCPT ); Fri, 8 Apr 2022 11:41:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 960FDDE098; Fri, 8 Apr 2022 08:39: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 330836201B; Fri, 8 Apr 2022 15:39:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9009C385A3; Fri, 8 Apr 2022 15:39:48 +0000 (UTC) Date: Fri, 8 Apr 2022 11:39:46 -0400 From: Steven Rostedt To: Joel Fernandes Cc: Kalesh Singh , Suren Baghdasaryan , kernel-team , "Paul E. McKenney" , 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: <20220408113946.056c083e@gandalf.local.home> In-Reply-To: References: <20220408045734.1158817-1-kaleshsingh@google.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -- Steve