Skip to content

Commit 924df8a

Browse files
committed
rcu: Fix invoke_rcu_callbacks() comment
Despite what the comment says, it is only softirqs that are disabled, not interrupts. This commit therefore fixes the comment. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
1 parent ca9558a commit 924df8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/rcu/tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2601,7 +2601,7 @@ static void rcu_process_callbacks(struct softirq_action *unused)
26012601
* Schedule RCU callback invocation. If the specified type of RCU
26022602
* does not support RCU priority boosting, just do a direct call,
26032603
* otherwise wake up the per-CPU kernel kthread. Note that because we
2604-
* are running on the current CPU with interrupts disabled, the
2604+
* are running on the current CPU with softirqs disabled, the
26052605
* rcu_cpu_kthread_task cannot disappear out from under us.
26062606
*/
26072607
static void invoke_rcu_callbacks(struct rcu_state *rsp, struct rcu_data *rdp)

0 commit comments

Comments
 (0)