Skip to content

Commit 2af8780

Browse files
committed
stop-machine: Add comment for rcu_momentary_eqs()
Add a comment to explain the purpose of the rcu_momentary_eqs() call from multi_cpu_stop(), which is to suppress false-positive RCU CPU stall warnings. Reported-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/87wmeuanti.ffs@tglx/ Signed-off-by: Paul E. McKenney <[email protected]> Cc: Valentin Schneider <[email protected]> Cc: Neeraj Upadhyay <[email protected]> Cc: Frederic Weisbecker <[email protected]>
1 parent 2014c95 commit 2af8780

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/stop_machine.c

+1
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ static int multi_cpu_stop(void *data)
250250
* be detected and reported on their side.
251251
*/
252252
touch_nmi_watchdog();
253+
/* Also suppress RCU CPU stall warnings. */
253254
rcu_momentary_eqs();
254255
}
255256
} while (curstate != MULTI_STOP_EXIT);

0 commit comments

Comments
 (0)