lkml.org 
[lkml]   [2023]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch v3 3/7] x86/smp: Remove pointless wmb()s from native_stop_other_cpus()
On Thu, Jun 15, 2023 at 10:33:54PM +0200, Thomas Gleixner wrote:
> 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>
> ---
> V3: Remove second instance and reword changelog - PeterZ
> ---
> arch/x86/kernel/smp.c | 6 ------
> 1 file changed, 6 deletions(-)

Reviewed-by: Borislav Petkov (AMD) <bp@alien8.de>

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2023-06-20 10:48    [W:2.830 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site