Commit aa97b9a5 authored by Frederic Weisbecker's avatar Frederic Weisbecker Committed by Paul E. McKenney
Browse files

rcu/nocb: Fix segcblist state machine stale comments about timers



The (de-)offloading process used to take care about the NOCB timer when
it depended on the per-rdp NOCB locking. However this isn't the case
anymore for a long while. It can now safely be armed and run during the
(de-)offloading process, which doesn't care about it anymore.

Update the comments accordingly.

Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent ce418966
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -80,8 +80,7 @@ struct rcu_cblist {
 *  |       SEGCBLIST_RCU_CORE | SEGCBLIST_LOCKING | SEGCBLIST_OFFLOADED       |
 *  |                                                                          |
 *  | Callbacks processed by rcu_core() from softirqs or local                 |
 *  | rcuc kthread, while holding nocb_lock. Waking up CB and GP kthreads,     |
 *  | allowing nocb_timer to be armed.                                         |
 *  | rcuc kthread, while holding nocb_lock. Waking up CB and GP kthreads.     |
 *  ----------------------------------------------------------------------------
 *                                         |
 *                                         v
@@ -183,8 +182,7 @@ struct rcu_cblist {
 *  |                SEGCBLIST_RCU_CORE | SEGCBLIST_LOCKING                    |
 *  |                                                                          |
 *  | Callbacks processed by rcu_core() from softirqs or local                 |
 *  | rcuc kthread, while holding nocb_lock. Forbid nocb_timer to be armed.    |
 *  | Flush pending nocb_timer.                                                |
 *  | rcuc kthread, while holding nocb_lock.                                   |
 *  ----------------------------------------------------------------------------
 *                                      |
 *                                      v