barriers in mutexes?

Russell King - ARM Linux linux at
Thu Feb 3 06:08:37 EST 2011

On Wed, Feb 02, 2011 at 06:05:46PM -0800, Steve Muckle wrote:
> Hello,
> Looking at kernel/mutex.c and arch/arm/include/asm/mutex.h, it appears
> there aren't any memory barriers in the fast path of mutexes. I see this
> was discussed here a long time back:
> How was this resolved?

bac4e96 ([ARM] barriers: improve xchg, bitops and atomic SMP barriers)

More information about the linux-arm-kernel mailing list