projects/linux·commit 8541bc1a

Merge tag 'stop-machine.2025.03.21a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu

8541bc1a · Linus Torvalds <[email protected]> · 2025-03-24 18:26:42 -07:00

Pull stop-machine update from Paul McKenney:

 - Add a comment for the call to rcu_momentary_eqs() from
   multi_cpu_stop() explaining that its purpose is to suppress
   false-positive RCU CPU stall warnings

* tag 'stop-machine.2025.03.21a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu:
  stop-machine: Add comment for rcu_momentary_eqs()
Commit
8541bc1a52e7e8facd67cef1e659f5714abc95ab
Parents
72b40807 · 2af8780d

Merge commit. Changes below are compared with the first parent: 72b40807.

Changes

1 files changed · +1 −0

FileStatusAddDelContent
kernel/stop_machine.cmodified+1−0View file

kernel/stop_machine.c

View file
diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c
index 8896d84..5d2d056 100644
--- a/kernel/stop_machine.c
+++ b/kernel/stop_machine.c
@@ -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);