summaryrefslogtreecommitdiffstats
path: root/src/arena.c
diff options
context:
space:
mode:
authorDavid Goldblatt <davidgoldblatt@fb.com>2017-03-08 01:57:48 (GMT)
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-03-09 05:27:09 (GMT)
commit8adab269721b0271399027d45a8aa6b425e53fd9 (patch)
tree97ab7c5efbd09c5ad0ab60cef13e5e80806eabc0 /src/arena.c
parentdafadce62205bddac7da1c595c956a69367810ec (diff)
downloadjemalloc-8adab269721b0271399027d45a8aa6b425e53fd9.zip
jemalloc-8adab269721b0271399027d45a8aa6b425e53fd9.tar.gz
jemalloc-8adab269721b0271399027d45a8aa6b425e53fd9.tar.bz2
Convert extents_t's npages field to use C11-style atomics
In the process, we can do some strength reduction, changing the fetch-adds and fetch-subs to be simple loads followed by stores, since the modifications all occur while holding the mutex.
Diffstat (limited to 'src/arena.c')
0 files changed, 0 insertions, 0 deletions