diff options
author | Qinfan Wu <wqfish@fb.com> | 2014-08-29 13:34:40 -0700 |
---|---|---|
committer | Jason Evans <je@fb.com> | 2014-09-04 22:22:52 -0700 |
commit | ff6a31d3b92b7c63446ce645341d2bbd77b67dc6 (patch) | |
tree | 93adb41dc69278a6d98a26ed953d30c479ee3ea5 /include/jemalloc/internal/chunk.h | |
parent | f34f6037e8d9836f7cddc02ad349dc72964bbcc7 (diff) | |
download | jemalloc-ff6a31d3b92b7c63446ce645341d2bbd77b67dc6.tar.gz |
Refactor chunk map.
Break the chunk map into two separate arrays, in order to improve cache
locality. This is related to issue #23.
Diffstat (limited to 'include/jemalloc/internal/chunk.h')
-rw-r--r-- | include/jemalloc/internal/chunk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/jemalloc/internal/chunk.h b/include/jemalloc/internal/chunk.h index f3bfbe0..27aa0ad 100644 --- a/include/jemalloc/internal/chunk.h +++ b/include/jemalloc/internal/chunk.h @@ -41,6 +41,7 @@ extern size_t chunksize; extern size_t chunksize_mask; /* (chunksize - 1). */ extern size_t chunk_npages; extern size_t map_bias; /* Number of arena chunk header pages. */ +extern size_t map_misc_offset; extern size_t arena_maxclass; /* Max size class for arenas. */ void *chunk_alloc_base(size_t size); |