diff options
author | Jason Evans <je@fb.com> | 2012-04-12 20:20:58 -0700 |
---|---|---|
committer | Jason Evans <je@fb.com> | 2012-04-12 20:20:58 -0700 |
commit | 7ca0fdfb85b2a9fc7a112e158892c098e004385b (patch) | |
tree | 6c08126277a935f1cedb9108d25cb2315f2e8c97 /include/jemalloc/internal/chunk_dss.h | |
parent | d6abcbb14b8d1c8beb1c61bfc5a24cb54578b85c (diff) | |
download | jemalloc-7ca0fdfb85b2a9fc7a112e158892c098e004385b.tar.gz |
Disable munmap() if it causes VM map holes.
Add a configure test to determine whether common mmap()/munmap()
patterns cause VM map holes, and only use munmap() to discard unused
chunks if the problem does not exist.
Unify the chunk caching for mmap and dss.
Fix options processing to limit lg_chunk to be large enough that
redzones will always fit.
Diffstat (limited to 'include/jemalloc/internal/chunk_dss.h')
-rw-r--r-- | include/jemalloc/internal/chunk_dss.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/jemalloc/internal/chunk_dss.h b/include/jemalloc/internal/chunk_dss.h index 16ea954..6e2643b 100644 --- a/include/jemalloc/internal/chunk_dss.h +++ b/include/jemalloc/internal/chunk_dss.h @@ -11,7 +11,6 @@ void *chunk_alloc_dss(size_t size, size_t alignment, bool *zero); bool chunk_in_dss(void *chunk); -bool chunk_dealloc_dss(void *chunk, size_t size); bool chunk_dss_boot(void); void chunk_dss_prefork(void); void chunk_dss_postfork_parent(void); |