How does atomicity work with the memory accesses?
Are you asking about the atomic memory access instructions added in ARMv8.1-A?
yes