Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1206557pxb; Thu, 4 Mar 2021 06:10:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0PgNERA4bOxXkoOUnxlIw9CUCODwl9NLMdiG9bvFnQXZh/X5OMQVTASvjGjszxdh5ekpB X-Received: by 2002:aa7:d0d7:: with SMTP id u23mr4433660edo.255.1614867005591; Thu, 04 Mar 2021 06:10:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614867005; cv=none; d=google.com; s=arc-20160816; b=Pv3o+eHmUpV7fvSwprowYJMP6X79hz40Fk2skj8qwCv7QDNkcgk3+Ea/1ALukOmKHx lFQXWBkUI0XG/80LWIZ6zP7n6/4qewQmb1/yP4oPbK66ncwsDokgPG60V1mrZbNfi1HR 3lNYi5y4hdFDTymkZHOIgwKnBAYGwwSIwstuyG2g0ueVwGGFRejYAEFlDC+5iQeRfakO wBsGmrJYHeGvocUn9zk5ks6p0QuoZf5da0zUpVuPHb48Z4K16HuICVbFDwJYlIyyCLQ0 X1hh5fhoupLTAEjZsIxu8v1tRCfq9YtjuncGYbSGoukMxNr2kR6NV7uZbvoroyX+iZhZ Uq4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=nL4XvzyxEeXtXWgh5VYrMove+CSDgX1Qo7Of3abl1Lg=; b=T6qpX0LImUdSpYK6D2+j/cy2GoDpf9j/CpVi0XdHUTGdewAsdxZBzajlSJuauL2QqM uVZtEQGFxNJg3++IYFOIg89sD1tfZ8TGmleIvQdHlRgGwGaE1moc/6vAszoekljVYTUe bPVNGbLS6mDgX/skdh0rGrKr25rarEilp51fUKdawvdHK82Ho85+2R1sAPRQcOdiLZJ6 PUioGv48cOWF4dvYisUg9wH0fCgteNz2p2+aL3QvTTrkbY7br9bsu6TXQpQDEHqbrN8O H1ghRtk48nkswdtm3kz8Oiojuw/0/n5IuUnEnQh2IQiGtKgQl0L3B/5ypLtEQFkhQmh3 KM+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DcQtQqcu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg25si1380337ejc.50.2021.03.04.06.09.41; Thu, 04 Mar 2021 06:10:05 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=DcQtQqcu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354646AbhCDBDp (ORCPT + 99 others); Wed, 3 Mar 2021 20:03:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:48840 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1448595AbhCDAZ6 (ORCPT ); Wed, 3 Mar 2021 19:25:58 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id BD77064EBA; Thu, 4 Mar 2021 00:23:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614817396; bh=OGdGOODUp4/8zIi8MgBFgAqE3trdWnuuEqxNa7WSqPM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DcQtQqcuWrKTzYg7BsSyf/N1yVD6VqL4JCLikTF9jRZ+091L3qypNfz6H8CjErHCW swDJnkNg9RH5zEmCf3mOKhQD/EidUiOV95y5wGSo2km2ptl/fsEHH3T8Dr6WAhT/Jz 1tLRII+uDQ6QPw2tbQ4NjiamKto69EsNhiId7Sy8lq45YdYpRyrqwVm7cxg1kl/Hnu PasiJ5dupeq7G/w1D8vDpv9Njgk5GLHKj6zziJXQPkawm2p62WdCaQEhSevxFNjKIO x5oQnjttHu4Fj0QfkeIgYv2GoMrn63vpXn+zeyLa+cAaeTqnlY8aIQwbZkzbKzLKD2 HrQWcxsW9+N5Q== From: paulmck@kernel.org To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, mingo@kernel.org, jiangshanlai@gmail.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, joel@joelfernandes.org, Frederic Weisbecker , Neeraj Upadhyay , Boqun Feng , "Paul E . McKenney" Subject: [PATCH tip/core/rcu 11/12] rcu/nocb: Remove stale comment above rcu_segcblist_offload() Date: Wed, 3 Mar 2021 16:23:10 -0800 Message-Id: <20210304002311.23655-11-paulmck@kernel.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20210304002225.GA23492@paulmck-ThinkPad-P72> References: <20210304002225.GA23492@paulmck-ThinkPad-P72> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frederic Weisbecker This commit removes a stale comment claiming that the cblist must be empty before changing the offloading state. This claim was correct back when the offloaded state was defined exclusively at boot. Reported-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker Cc: Josh Triplett Cc: Lai Jiangshan Cc: Joel Fernandes Cc: Neeraj Upadhyay Cc: Boqun Feng Signed-off-by: Paul E. McKenney --- kernel/rcu/rcu_segcblist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/rcu/rcu_segcblist.c b/kernel/rcu/rcu_segcblist.c index 7f181c9..aaa1112 100644 --- a/kernel/rcu/rcu_segcblist.c +++ b/kernel/rcu/rcu_segcblist.c @@ -261,8 +261,7 @@ void rcu_segcblist_disable(struct rcu_segcblist *rsclp) } /* - * Mark the specified rcu_segcblist structure as offloaded. This - * structure must be empty. + * Mark the specified rcu_segcblist structure as offloaded. */ void rcu_segcblist_offload(struct rcu_segcblist *rsclp, bool offload) { -- 2.9.5