[aarch64-port-dev ] DMB elimination in C2 synchronization implementation
Andrew Haley
aph at redhat.com
Tue Sep 1 17:07:52 UTC 2015
On 09/01/2015 04:06 PM, Wei Tang wrote:
> *Path1 & 2 - biased locking/unlocking*
>
> Locking:
>
> Path 1 - When the lock object is biased to current thread, DMB is
> un-necessary as current thread is holding the lock.
I don't agree. A memory barrier is required for correct semantics.
I'll save any more comments until I see your patch.
Thanks,
Andrew.
More information about the aarch64-port-dev
mailing list