Descriptionruntime, sync/atomic: add memory barriers in atomic operations on ARM
Both runtime and sync/atomic atomic operations promise full memory barriers,
there are no barriers on ARM. Not sure how it was working before...
Pointed by Rui in https://codereview.appspot.com/91230048/
Have anybody seen unexplinable crashes on multicore ARM machines?
I can look into creating stress tests that should expose the missing barrier.
And I would appreciate if somebody tests it, because the change is completely blind on my side.
Patch Set 1 #Patch Set 2 : diff -r 5fdfef4f39f6 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 3 : diff -r 5fdfef4f39f6 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 4 : diff -r 5fdfef4f39f6 https://dvyukov%40google.com@code.google.com/p/go/ #
Total comments: 1
MessagesTotal messages: 16
|
||||||||||||||||||||||||||||||||||||||||||||||