Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1605642ybg; Wed, 29 Jul 2020 20:03:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXuOyoQ05XAbMVbRKcT2LA2JvL0sPWY6i8f1O5s18betCq14oXwxC5d9pxw0QNIM2S6wJO X-Received: by 2002:a50:8ace:: with SMTP id k14mr786317edk.0.1596078192371; Wed, 29 Jul 2020 20:03:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596078192; cv=none; d=google.com; s=arc-20160816; b=DdnoyHpvvrQpYwGpFPZzMTW29JX5vsjgNOQnUTsqb7KzIJLPd1WHdNp1RhfFCLc07s Yiy7lviyvIfHtgEes/iPmmIzq4UDXoYYOReNeP/09OK/U2qsgB7KD6yUkE0UIqezhzvb isJTREA/7KDK9pFuekUosmw6pHeTT3VWYOoCUS/gQC1iijz5fcu2LPIcJRA7p+mDLU0/ m408fVTG9vPg5crBX1nx5bUOPl4cbPY67O3PjVh719AGiYFN1bhzUv/7/qYQOx9NGKqS BbPM9Vxa5vc/iR7bjLRNVG5HIBTWLppSLY6Rs7bfJPaSyTQJRVD1/Yyoiy5nEMd0K5tK +XXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=X+qtJerENl+R3lIp2sk3UvcjK8RDOhGe6ueG91tUx9Q=; b=gTi41qAHqOvJXfkHLc56Pz9/e2MIB8uT2WS1Q8D9MWTNQPYBBUGVfpqaohbPBLzIkN P+/aaTe1e6NMkgoOCC4YKsht3AAeIYYbkU7ZHPBJgmBx9/HKZ0QfGgaCwpoQlydIyvqK jceWupod89VcFlR93Fltbh1fl3Bl4GcGS1tWhHCxNR4VyNJ3QFTD40QKIdLhGPE+V8HI g+5zpGGBlyCJZ1E0fbU2YXLCuBQvNDU7oOrCW0hjbNuV70BQNxhIqEwvxSg3e15dcSW7 eblA3qbU5O0sU/lLJynS1j3nW4L6PnF5UIdj8yOJBPUgV96nePEU0fvXn//fptoPCkTT psMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=W34bhE3P; 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 p2si2212659ejx.53.2020.07.29.20.02.50; Wed, 29 Jul 2020 20:03:12 -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=W34bhE3P; 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 S1728446AbgG3DCf (ORCPT + 99 others); Wed, 29 Jul 2020 23:02:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726341AbgG3DCe (ORCPT ); Wed, 29 Jul 2020 23:02:34 -0400 Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 287BCC061794 for ; Wed, 29 Jul 2020 20:02:33 -0700 (PDT) Received: by mail-qk1-x741.google.com with SMTP id d14so24354152qke.13 for ; Wed, 29 Jul 2020 20:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=X+qtJerENl+R3lIp2sk3UvcjK8RDOhGe6ueG91tUx9Q=; b=W34bhE3PYvBO+cD5maoCqKLyBwxlrKfZJWJmIXlwFAmV/Zz/HUQMlX/gSME1g5Vo/S gYgvR98W5uiqKvcPOdD1prpaq6BIsaAi6cLqrjmM6oWG5/zx7GvEgk3apmoNCFqLHOcs iJy+N5iXXdZVAzJqHnyTotST3uy+ty8sJT8sQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=X+qtJerENl+R3lIp2sk3UvcjK8RDOhGe6ueG91tUx9Q=; b=d8X5CpgP5KS1WVLKEdMue/+qtyBq2nevbULSfc8xrBD+sb3E29Rg26beCagnBPY7H2 hmsM554aEh8gCebk2OqH3cXghJqXTRkSL173kxjRFBMk/EH3so/OhMyrGk7sHDdINXLm uupUVFTgByYnAb5DsfQz+4x6sNnFNTOTRGMeHFjP6bEJxQX0ZEKcOkJGySq0iXzxILLo txaKgJmvO3viD9X8YUBSxkPiSBN4lG53xpIGd1Y3M+dlFu5U4CN+8hXup4ccxBPZaG6+ HQ0x8D6OwVgeA34owJek/NAiLKK0tSKZEgw76K+nfPzY6Ss/2yyjVNdydQisK/ZUXpv1 Vy+Q== X-Gm-Message-State: AOAM532wB0Kjx1CBTJFWTHzzxAnkCbyPC9aRTW7xklKbPMlkCtKFrYJq YCA6LFJjgplveqcJ1AKCYFC6TuBZaB4= X-Received: by 2002:a37:9507:: with SMTP id x7mr29285452qkd.253.1596078151592; Wed, 29 Jul 2020 20:02:31 -0700 (PDT) Received: from joelaf.cam.corp.google.com ([2620:15c:6:12:cad3:ffff:feb3:bd59]) by smtp.gmail.com with ESMTPSA id f7sm3122044qkj.32.2020.07.29.20.02.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2020 20:02:31 -0700 (PDT) From: "Joel Fernandes (Google)" To: linux-kernel@vger.kernel.org Cc: "Joel Fernandes (Google)" , Josh Triplett , Lai Jiangshan , Mathieu Desnoyers , Neeraj Upadhyay , "Paul E. McKenney" , rcu@vger.kernel.org, Steven Rostedt Subject: [PATCH 2/2] rcu/tree: Clarify comments about FQS loop reporting quiescent states Date: Wed, 29 Jul 2020 23:02:21 -0400 Message-Id: <20200730030221.705255-2-joel@joelfernandes.org> X-Mailer: git-send-email 2.28.0.rc0.142.g3c755180ce-goog In-Reply-To: <20200730030221.705255-1-joel@joelfernandes.org> References: <20200730030221.705255-1-joel@joelfernandes.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At least since v4.19, the FQS loop no longer reports quiescent states 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