x86/traps: remove smp_mb() ahead of IPI dispatch

The IPI dispatch functions already have the required barriers to ensure
correct memory ordering.

Note other callers of send_IPI_mask() don't use any barriers.

No functional change intended.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Roger Pau Monne committed 2025-05-23 09:45:20 +02:00
1 parent 7ab4b392b7
commit 6fec8fa1b5
1 file changed
-2
-2
View File
@@ -785,8 +785,6 @@ void fatal_trap(const struct cpu_user_regs *regs, bool show_remote)
cpumask_andnot(&show_state_mask, &cpu_online_map,
cpumask_of(smp_processor_id()));
set_nmi_callback(nmi_show_execution_state);
/* Ensure new callback is set before sending out the NMI. */
smp_wmb();
smp_send_nmi_allbutself();
/* Wait at most 10ms for some other CPU to respond. */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.