rcu: Remove obsolete comment from __call_rcu()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 1 Sep 2016 12:15:53 +0000 (05:15 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 1 Sep 2016 12:15:53 +0000 (05:15 -0700)
The __call_rcu() comment about opportunistically noting grace period
beginnings and endings is obsolete.  RCU still does such opportunistic
noting, but in __call_rcu_core() rather than __call_rcu(), and there
already is an appropriate comment in __call_rcu_core().  This commit
therefore removes the obsolete comment.

Reported-by: Michalis Kokologiannakis <mixaskok@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c

index 7e0f806bacdb3840def4ec83b75b4e3c03f30dbe..fead485b21f3c3e345bea82e43353343072df816 100644 (file)
@@ -3132,13 +3132,6 @@ __call_rcu(struct rcu_head *head, rcu_callback_t func,
        }
        head->func = func;
        head->next = NULL;
-
-       /*
-        * Opportunistically note grace-period endings and beginnings.
-        * Note that we might see a beginning right after we see an
-        * end, but never vice versa, since this CPU has to pass through
-        * a quiescent state betweentimes.
-        */
        local_irq_save(flags);
        rdp = this_cpu_ptr(rsp->rda);
 
This page took 0.026032 seconds and 5 git commands to generate.