Re: [PATCH v2 12/31] arm64: Atomic operations

2012-08-14 Thread Olof Johansson
Hi, On Tue, Aug 14, 2012 at 06:52:13PM +0100, Catalin Marinas wrote: > This patch introduces the atomic, mutex and futex operations. Many > atomic operations use the load-acquire and store-release operations > which imply barriers, avoiding the need for explicit DMB. > > Signed-off-by: Will

[PATCH v2 12/31] arm64: Atomic operations

2012-08-14 Thread Catalin Marinas
This patch introduces the atomic, mutex and futex operations. Many atomic operations use the load-acquire and store-release operations which imply barriers, avoiding the need for explicit DMB. Signed-off-by: Will Deacon Signed-off-by: Catalin Marinas --- arch/arm64/include/asm/atomic.h | 306

[PATCH v2 12/31] arm64: Atomic operations

2012-08-14 Thread Catalin Marinas
This patch introduces the atomic, mutex and futex operations. Many atomic operations use the load-acquire and store-release operations which imply barriers, avoiding the need for explicit DMB. Signed-off-by: Will Deacon will.dea...@arm.com Signed-off-by: Catalin Marinas catalin.mari...@arm.com

Re: [PATCH v2 12/31] arm64: Atomic operations

2012-08-14 Thread Olof Johansson
Hi, On Tue, Aug 14, 2012 at 06:52:13PM +0100, Catalin Marinas wrote: This patch introduces the atomic, mutex and futex operations. Many atomic operations use the load-acquire and store-release operations which imply barriers, avoiding the need for explicit DMB. Signed-off-by: Will Deacon