[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1519291421-5638-1-git-send-email-parri.andrea@gmail.com>
Date: Thu, 22 Feb 2018 10:23:41 +0100
From: Andrea Parri <parri.andrea@...il.com>
To: Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>
Cc: Will Deacon <will.deacon@....com>,
"Paul E . McKenney" <paulmck@...ux.vnet.ibm.com>,
Alan Stern <stern@...land.harvard.edu>,
Ivan Kokshaysky <ink@...assic.park.msu.ru>,
Matt Turner <mattst88@...il.com>,
Richard Henderson <rth@...ddle.net>,
linux-alpha@...r.kernel.org, linux-kernel@...r.kernel.org,
Andrea Parri <parri.andrea@...il.com>
Subject: [PATCH 0/2] locking/xchg/alpha: Additional fixes
Hi,
A couple of two more fixes, on top of tip:locking/urgent, to Alpha's
implementations of xchg() and cmpxchg():
- The first, suggested by Will, removing the macro '__ASM__MB'
in favour of smp_mb();
- The second, reported by Will, adding a leading smp_mb().
Compile tested only.
Cheers,
Andrea
Andrea Parri (2):
locking/xchg/alpha: Use smp_mb() in place of __ASM__MB
locking/xchg/alpha: Add leading smp_mb() to xchg(), cmpxchg()
arch/alpha/include/asm/cmpxchg.h | 6 ------
arch/alpha/include/asm/xchg.h | 37 ++++++++++++++++++++++++++-----------
2 files changed, 26 insertions(+), 17 deletions(-)
--
2.7.4
Powered by blists - more mailing lists