Commit 2af8780d authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/87wmeuanti.ffs@tglx/


Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
Cc: Valentin Schneider <vschneid@redhat.com>
Cc: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Cc: Frederic Weisbecker <frederic@kernel.org>
parent 2014c95a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -250,6 +250,7 @@ static int multi_cpu_stop(void *data)
			 * be detected and reported on their side.
			 */
			touch_nmi_watchdog();
			/* Also suppress RCU CPU stall warnings. */
			rcu_momentary_eqs();
		}
	} while (curstate != MULTI_STOP_EXIT);