x86/smp: Remove pointless wmb()s from native_stop_other_cpus()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 15 Jun 2023 20:33:54 +0000 (22:33 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 20 Jun 2023 12:51:46 +0000 (14:51 +0200)
commit2affa6d6db28855e6340b060b809c23477aa546e
tree75be2f4fb3afac4135674cdb580414ea1cc29e38
parent9b040453d4440659f33dc6f0aa26af418ebfe70b
x86/smp: Remove pointless wmb()s from native_stop_other_cpus()

The wmb()s before sending the IPIs are not synchronizing anything.

If at all then the apic IPI functions have to provide or act as appropriate
barriers.

Remove these cargo cult barriers which have no explanation of what they are
synchronizing.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230615193330.378358382@linutronix.de
arch/x86/kernel/smp.c