diff options
author | David Goldblatt <davidgoldblatt@fb.com> | 2017-03-08 01:57:48 (GMT) |
---|---|---|
committer | David Goldblatt <davidtgoldblatt@gmail.com> | 2017-03-09 05:27:09 (GMT) |
commit | 8adab269721b0271399027d45a8aa6b425e53fd9 (patch) | |
tree | 97ab7c5efbd09c5ad0ab60cef13e5e80806eabc0 /src/arena.c | |
parent | dafadce62205bddac7da1c595c956a69367810ec (diff) | |
download | jemalloc-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