Skip to content

Commit aa97b9a

Browse files
Frederic Weisbeckerpaulmckrcu
authored andcommitted
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: Frederic Weisbecker <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent ce41896 commit aa97b9a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

include/linux/rcu_segcblist.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ struct rcu_cblist {
8080
* | SEGCBLIST_RCU_CORE | SEGCBLIST_LOCKING | SEGCBLIST_OFFLOADED |
8181
* | |
8282
* | Callbacks processed by rcu_core() from softirqs or local |
83-
* | rcuc kthread, while holding nocb_lock. Waking up CB and GP kthreads, |
84-
* | allowing nocb_timer to be armed. |
83+
* | rcuc kthread, while holding nocb_lock. Waking up CB and GP kthreads. |
8584
* ----------------------------------------------------------------------------
8685
* |
8786
* v
@@ -183,8 +182,7 @@ struct rcu_cblist {
183182
* | SEGCBLIST_RCU_CORE | SEGCBLIST_LOCKING |
184183
* | |
185184
* | Callbacks processed by rcu_core() from softirqs or local |
186-
* | rcuc kthread, while holding nocb_lock. Forbid nocb_timer to be armed. |
187-
* | Flush pending nocb_timer. |
185+
* | rcuc kthread, while holding nocb_lock. |
188186
* ----------------------------------------------------------------------------
189187
* |
190188
* v

0 commit comments

Comments
 (0)