summaryrefslogtreecommitdiffstats
path: root/src/pages.c
diff options
context:
space:
mode:
authorDavid Goldblatt <davidgoldblatt@fb.com>2017-03-09 22:49:32 (GMT)
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-03-13 19:05:27 (GMT)
commit21a68e2d22da08e0f60ff79d6866dd3add19775b (patch)
tree9df36152370e32d08cb8270a16b92ca9a60378c3 /src/pages.c
parent3a2b183d5fe86132d0830f720b3b8dbd6a29f7e9 (diff)
downloadjemalloc-21a68e2d22da08e0f60ff79d6866dd3add19775b.zip
jemalloc-21a68e2d22da08e0f60ff79d6866dd3add19775b.tar.gz
jemalloc-21a68e2d22da08e0f60ff79d6866dd3add19775b.tar.bz2
Convert rtree code to use C11 atomics
In the process, I changed the implementation of rtree_elm_acquire so that it won't even try to CAS if its initial read (getting the extent + lock bit) indicates that the CAS is doomed to fail. This can significantly improve performance under contention.
Diffstat (limited to 'src/pages.c')
0 files changed, 0 insertions, 0 deletions