]> git.itanic.dy.fi Git - linux-stable/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Jul 2023 11:14:44 +0000 (13:14 +0200)
commit903af9511333bd0109993b4a0d0118a6589fb0e7
treeb3d82c4906608c1bed5dbd3864b68c4e87b3c49b
parentf7df17d128075bf1c50e87e0c0721bb0012d086b
x86/smp: Remove pointless wmb()s from native_stop_other_cpus()

commit 2affa6d6db28855e6340b060b809c23477aa546e upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/smp.c