Received: by 2002:a19:f614:0:0:0:0:0 with SMTP id x20csp22253lfe; Fri, 15 Apr 2022 17:35:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYRnVIPcYW+CdB0xKnHxS+1ufz++5jhsl7E97e1Cx2QViT0VWUFPsELKJpdSKjSl2dh1Jw X-Received: by 2002:a63:1c1d:0:b0:39d:9a7c:593b with SMTP id c29-20020a631c1d000000b0039d9a7c593bmr1114891pgc.157.1650069338590; Fri, 15 Apr 2022 17:35:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650069338; cv=none; d=google.com; s=arc-20160816; b=IPXLaLV2wxs67Wlao6XltbJ/K5fYdcnw43JAG+rdmKusOhbat/JkX8BMwHjcG7Iv0Y oLLgUxpzjYDrgcD6cM/2ERIgon2QFEaY7VkrRleYx5vQBjlJ3TjWKzLUskhApGbvfYR+ CaYrD8oFAV0yYW/xKZp7cbid2v4froSAVP3juIfVjygzaL6nDojyXfHweBBj2lmmsWnr somtJcZcYz0bPSSRhQxaIVBAa+wa1p6CzeQIfCfhBHKAyKCHVzZhZfrETXnV4GLOedIh 1wKiqn4/sdiHhFh+kDXFjoPbuCuu3WCJTtSNapkZgZJbpAw+ObGWTAHSJtC0GEcqmLbm V4WQ== 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:message-id:subject:cc:to:from:date:dkim-signature; bh=AmOv5rtWsBjN+AH3Yiwh3/xuZYgmQM8D4+J7GjX0x60=; b=dOHzqbkE5ajmaFGoPhfKaJGbgBMJFJygwD1HYCbGXThvJcm2zFq6MBTcSy/Jyt3xY6 QA+U3CKU+ZPWaQmzB0y/3K7kCCNYsHQmxx7oJ1b+q5J7RtwnEW6fUYxqyjBQfrvvRyh/ ApAUC3arEemjGW61thwzejm8kEU+tA4ddxa090BjZl6IVWECR8YpwLBy/dBEoLf6qrkE Le7QPkeZr0dkdyuNI8yf3Yu/lEWCCq5M2h2Ab1L4eDx3jxYqAe5wWD4IXvV1GCXygMcS P8vXeR+PcbG3YjUmIpdbpj5oh6neEbnHglBJp8qOmmyByv8cENtQvUUYRp8JcvlmQnIB 6YdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=HopD3qrA; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j15-20020a63e74f000000b0039dac8fd257si2675250pgk.386.2022.04.15.17.35.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 17:35:38 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=HopD3qrA; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9B662F3FA4; Fri, 15 Apr 2022 17:31:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345777AbiDNTWn (ORCPT + 99 others); Thu, 14 Apr 2022 15:22:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345266AbiDNTWU (ORCPT ); Thu, 14 Apr 2022 15:22:20 -0400 Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 958B8B644D for ; Thu, 14 Apr 2022 12:19:50 -0700 (PDT) Received: by mail-qv1-xf36.google.com with SMTP id a5so4834801qvx.1 for ; Thu, 14 Apr 2022 12:19:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=AmOv5rtWsBjN+AH3Yiwh3/xuZYgmQM8D4+J7GjX0x60=; b=HopD3qrAEWycdOfimAP39aurNTsYZT/k4CNX23xV4pYQRBDzfqGfZmdo/hskHJEDDq eyI7fHLthCq8riD92+r3ERUkkLegaIc7DSazq9AJIS8DoBLzFSQgQzsCppKaIZUwmt+O unHHUfKfCq1xHxSOf03GpNReZrzdcEKaUdHv0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=AmOv5rtWsBjN+AH3Yiwh3/xuZYgmQM8D4+J7GjX0x60=; b=dv35Y1z9ewCuZCibU5MY86Kapu2eIz116r6d4EZrLyfzbJwVRUpyHBbhERn+yVbGWJ XTj0KMb5Q1oq6d9pxfkZxxDK1T2HhbBx+JlmbUXPi05iociacR6JddcdCAy3425xVBuA CvWCX5BaByX+HDy3IV9ZXSxNXdqKlLdmZebSvgjUAqG8sMI9HY2D28Ccba7Sbim7ie6V PqwISLdZ5MaQOVH8D9Bk3FcmgMNwUUPa8jEmfbFDC2j3igixoWi5YxHBiZNaj10HZRw6 WY/iNXui5CsidwHpfvQ/JLXyPAFoA0jvJfi2vYZth1eQoH6EZkSuEYuPYubBkq0sVFhG AkVg== X-Gm-Message-State: AOAM5302i+HmQORMVHVAKg7Yp0mcx4vpcCXLw0Wtb1hnzx83le5TmpNL ARWwhldrURNkWZfTHDjAzO9C2w== X-Received: by 2002:a05:6214:19c8:b0:444:32f0:2351 with SMTP id j8-20020a05621419c800b0044432f02351mr14188611qvc.109.1649963989216; Thu, 14 Apr 2022 12:19:49 -0700 (PDT) Received: from localhost (228.221.150.34.bc.googleusercontent.com. [34.150.221.228]) by smtp.gmail.com with ESMTPSA id w17-20020a05622a135100b002ef480d2559sm1718617qtk.34.2022.04.14.12.19.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Apr 2022 12:19:48 -0700 (PDT) Date: Thu, 14 Apr 2022 19:19:48 +0000 From: Joel Fernandes To: "Paul E. McKenney" Cc: LKML , Josh Triplett , Lai Jiangshan , Mathieu Desnoyers , rcu , Steven Rostedt , Frederic Weisbecker Subject: Re: [PATCH RFC] rcu/nocb: Provide default all-CPUs mask for RCU_NOCB_CPU=y Message-ID: References: <20220408142232.GA4285@paulmck-ThinkPad-P17-Gen-1> <20220408155002.GF4285@paulmck-ThinkPad-P17-Gen-1> <20220408174908.GK4285@paulmck-ThinkPad-P17-Gen-1> <20220408205440.GL4285@paulmck-ThinkPad-P17-Gen-1> <20220411154109.GX4285@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220411154109.GX4285@paulmck-ThinkPad-P17-Gen-1> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Mon, Apr 11, 2022 at 08:41:09AM -0700, Paul E. McKenney wrote: [..] > > > [4] All CPUs are offloaded at boot, and any CPU can be de-offloaded > > > and offloaded at runtime. This is the same behavior that > > > you would currently get with CONFIG_RCU_NOCB_CPU_ALL=n and > > > rcu_nocbs=0-N. > > > > Yes, this is the behavior I intend. So then there would not be a need > > to pass a mask (and I suspect for a large number of users, it > > simplifies boot params). > > Very good, and from what I can see, this should work for everyone. Just to clarify, what I am going to do is, if this new option =y, then rcu_nocbs effectively wont do anything. i.e. All CPUs are offloaded at boot. Let me know if we are not on the same page about it though. I do feel that is a sensible choice given =y. If we are on same page, please ignore my comment. > > > I believe that Steve Rostedt's review would carry weight for ChromeOS, > > > however, I am suffering a senior moment on the right person for Android. > > > > I think for Android, Kalesh Singh is in the kernel team and Tim Murray > > is the performance lead. They could appropriately represent their RCU > > needs. > > Sounds good! Please collect a Reviewed-by from one or both of them. Ok. thanks, - Joel