Hello, Following patch redefines atomic_exchange_acq/atomic_exchange_rel to __atomic_exchange_n for ARM, that allows for example to reduce number of instruction sequence for lll_unlock from: ldex, cmp, bne, stex, cmp, bne to ldex, stex, cmp, bne , more on the issue here: http://sourceware.org/bugzilla/show_bug.cgi?id=15640 This patch was tested on ARM a9 with glibc testsuite with no new regressions. OK to commit? Thanks, Dinar.