I\'ve been working on an embedded OS for ARM, However there are a few things i didn\'t understand about the architecture even after referring to ARMARM and linux source.
Okay, got the answer from their website.
If a context switch schedules out a process after the process has performed a Load-Exclusive but before it performs the Store-Exclusive, the Store-Exclusive returns a false negative result when the process resumes, and memory is not updated. This does not affect program functionality, because the process can retry the operation immediately.