Chromium Code Reviews
Descriptionwtf/Atomics.h: Remove Android/ARM kernel helpers.
Future Android kernels are going to remove the special
page that is mapped in every process at a fixed address,
and which provides optimized low-level operations.
Instead of calling the memory helper related to memory
barriers, use __sync_synchonize which will generate a
DMB instruction directly, just like all other
platforms (e.g. Linux/ARM).
The only benefit of using the kernel helper was to avoid
the DMB instruction on single-core devices, which are
now totally obsolete.
This change only impacts Android/ARM builds.
BUG=686001
Review-Url: https://codereview.chromium.org/2651203006
Cr-Commit-Position: refs/heads/master@{#447008}
Committed: https://chromium.googlesource.com/chromium/src/+/70847b53c7d1d5d8c65d526f966718a9e2c8adef
Patch Set 1 #
Messages
Total messages: 13 (9 generated)
|
|||||||||||||||||||