Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1615862ybg; Wed, 29 Jul 2020 20:26:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9uTt1jfy5MSj3Rf8AyD3LS9D/s6eBev0K0dnloW9CQWFK+f7JAZReSiTS/nuSzSOQKRwz X-Received: by 2002:a50:cdd8:: with SMTP id h24mr735366edj.241.1596079578793; Wed, 29 Jul 2020 20:26:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596079578; cv=none; d=google.com; s=arc-20160816; b=Jo4ppFm/MkYRT/Fa7D1LUzXnOHWtWpbxdM6iXIYFBQF/hch9Ai83ndJKa42QsaLqvD Wb02s+VNa7+3c5pvLH2vV3tjTMkan+TET8lpxKXhKxwwbM91v7kG5JZQ3VYmPWneIK45 XRzxu0EQN0vM1N7NNUd8O1YFObqQ2g0rVbaB9y3qgJrykEK3mbSmI47OsP7aAoaz0KVb XnNVz6QadLUXmVbsow2XPKnRxxnQIimxS1kzAzXGDvrrCKHTwX813YhiSTnrT7hcmyJl WK7Kg4qCcUger5nAFIveL9+l7TGhv6cVgUDAEZtIyAAeRf6uU0cQQAiwsbzHBr2qBpsf BfQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=BMOKpsoAycMZRgiyYsf2Iv8iNWZoQZsua7ZF5l9UzN0=; b=eSH3y3/HaWwigVd4I+VdKTN3DsGMWRzSgeRnJV8Mt9GgXjnlqFR3UnYN8AgE9NQqh4 CC5e7UWa6Krzk2Jryri44DKO7cxJJZ3jBRbue+mDVIwyUIp73FWCS7acvd6fb3bWf9lY kCF3mNQH2BHdtskk5eevVZXM7/Jm9JOBg8X3vQA4JmYI/RzA50G5pmdn/OPnxPIMDyBJ Jk84SuMdqYJd/mUDVYj5v9PwEUl9BfUDRAHw1aFJ85YKpcjhMIYB+0M9S7jpGad10kAJ 4cl/Fubx+9OcSHRGSBVqZu+DA6rP8BbcIBsEch7LP0/4XQtpVrsFe6yotjM06mEOAROD sGVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b="ei0yzKh/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z43si2535617ede.148.2020.07.29.20.25.54; Wed, 29 Jul 2020 20:26:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b="ei0yzKh/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728498AbgG3DZc (ORCPT + 99 others); Wed, 29 Jul 2020 23:25:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726519AbgG3DZb (ORCPT ); Wed, 29 Jul 2020 23:25:31 -0400 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85936C0619D2 for ; Wed, 29 Jul 2020 20:25:31 -0700 (PDT) Received: by mail-il1-x142.google.com with SMTP id t4so21300672iln.1 for ; Wed, 29 Jul 2020 20:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BMOKpsoAycMZRgiyYsf2Iv8iNWZoQZsua7ZF5l9UzN0=; b=ei0yzKh/0+/EVfLlVvdicxsBwhwQbO0UpL2frM3TZ8p1BlLc/Bk6n5tzdHhkvE5kqC BuuvBcneeC9QqKUF3XHgDlQtxHv6ejgvQE03z+QoPx5WJsvdHz43ALA1wZip6POLKkAY w2DY4w/a2cpNv3En9dleOzNxW8o/45qRmUaTE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BMOKpsoAycMZRgiyYsf2Iv8iNWZoQZsua7ZF5l9UzN0=; b=MdVy1EYJtpeFJb86p/FNfZNUCaJ6ZDi+/hbQzwmhEZG5wosL+JaeDaaHyTPhMikTHa 7niGdxtSiwnrAnQELYVxLo3MbmoUFOLoFqgOagDyK2dzjHJWq4rlLSTHXNzh66vzuMd7 lSMUlGQOVzNeu/ERGByQnYx8cwH30qVXs4QusZFZ29gW7Zi5fvVAWG4j3t8zU5EBgktk yjieHSFVdroTLW7F5eJz0tymMZrpjjxY6a5BJtmMuEEX6wY4B5YkawHCN6xLW6FsH8t0 f5FKabvTcpeYA3hCBH3HkvBaqCxM4t3ccKrHtu5o49axJMNx1AWIsJdfDbEpfYGVzHxP pppQ== X-Gm-Message-State: AOAM532NJ6+k5GpR+IZYy059dlWbKimicmdkkfGnDCrCYk9QQWcEHzcr +175ogZXwwGoTOi0PCbLv+xKlwtgDir8U8tKppJQnmytStY= X-Received: by 2002:a92:660e:: with SMTP id a14mr6084382ilc.262.1596079530713; Wed, 29 Jul 2020 20:25:30 -0700 (PDT) MIME-Version: 1.0 References: <20200730030221.705255-1-joel@joelfernandes.org> <20200730030221.705255-2-joel@joelfernandes.org> In-Reply-To: <20200730030221.705255-2-joel@joelfernandes.org> From: Joel Fernandes Date: Wed, 29 Jul 2020 23:25:19 -0400 Message-ID: Subject: Re: [PATCH 2/2] rcu/tree: Clarify comments about FQS loop reporting quiescent states To: LKML Cc: Josh Triplett , Lai Jiangshan , Mathieu Desnoyers , Neeraj Upadhyay , "Paul E. McKenney" , rcu , Steven Rostedt Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 29, 2020 at 11:02 PM Joel Fernandes (Google) wrote: > > At least since v4.19, the FQS loop no longer reports quiescent states I meant here, "FQS loop no longer reports quiescent states for offline CPUs." Sorry, - Joel > unless it is a dire situation where an offlined CPU failed to report > a quiescent state. Let us clarify the comment in rcu_gp_init() inorder > to keep the comment current. > > Signed-off-by: Joel Fernandes (Google) > --- > kernel/rcu/tree.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c > index 1e51962b565b..929568ff5989 100644 > --- a/kernel/rcu/tree.c > +++ b/kernel/rcu/tree.c > @@ -1701,8 +1701,8 @@ static bool rcu_gp_init(void) > > /* > * Apply per-leaf buffered online and offline operations to the > - * rcu_node tree. Note that this new grace period need not wait > - * for subsequent online CPUs, and that quiescent-state forcing > + * rcu_node tree. Note that this new grace period need not wait for > + * subsequent online CPUs, and that RCU hooks in CPU offlining path > * will handle subsequent offline CPUs. > */ > rcu_state.gp_state = RCU_GP_ONOFF; > -- > 2.28.0.rc0.142.g3c755180ce-goog >