rcu/nocb: Remove stale comment above rcu_segcblist_offload()
authorFrederic Weisbecker <frederic@kernel.org>
Tue, 23 Feb 2021 00:10:01 +0000 (01:10 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 15 Mar 2021 20:54:54 +0000 (13:54 -0700)
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 <paulmck@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Neeraj Upadhyay <neeraju@codeaurora.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcu_segcblist.c

index 7f181c9675f761bd8fbc81294a665da0dd0ecb85..aaa111237b602990300138181417399115ce235b 100644 (file)
@@ -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)
 {