commit | 7ca0fdfb85b2a9fc7a112e158892c098e004385b | [log] [tgz] |
---|---|---|
author | Jason Evans <je@fb.com> | Thu Apr 12 20:20:58 2012 -0700 |
committer | Jason Evans <je@fb.com> | Thu Apr 12 20:20:58 2012 -0700 |
tree | 6c08126277a935f1cedb9108d25cb2315f2e8c97 | |
parent | d6abcbb14b8d1c8beb1c61bfc5a24cb54578b85c [diff] |
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.