[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160323083011.GD6614@pd.tnic>
Date: Wed, 23 Mar 2016 09:30:11 +0100
From: Borislav Petkov <bp@...en8.de>
To: Davidlohr Bueso <dave@...olabs.net>
Cc: tony.luck@...el.com, mingo@...nel.org,
linux-kernel@...r.kernel.org, Davidlohr Bueso <dbueso@...e.de>
Subject: Re: [PATCH -tip] x86/mce: Use atomic_inc_return barrier when
starting monad sync
On Mon, Mar 21, 2016 at 04:19:56PM -0700, Davidlohr Bueso wrote:
> mce_start() has an explicit smp_wmb to serialize writes to
> global_nwo and mce_callin. However, atomic_inc_return() implies
> barriers on both sides of the call, as such simply rely on this
> full smp barrier.
>
> Signed-off-by: Davidlohr Bueso <dbueso@...e.de>
> ---
> arch/x86/kernel/cpu/mcheck/mce.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
Powered by blists - more mailing lists