diff options
author | antirez <antirez@gmail.com> | 2017-01-10 11:25:39 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2017-01-10 11:25:39 +0100 |
commit | 173d692bc2e87d476a8ef45b671cf9ac98695c15 (patch) | |
tree | f155e0dccacab019834d758584cee7f3e864dcb7 /deps | |
parent | 5ab6a54cc619e750daac59baef7b9f9dc1f87db9 (diff) | |
download | redis-173d692bc2e87d476a8ef45b671cf9ac98695c15.tar.gz |
Defrag: activate it only if running modified version of Jemalloc.
This commit also includes minor aesthetic changes like removal of
trailing spaces.
Diffstat (limited to 'deps')
-rw-r--r-- | deps/jemalloc/include/jemalloc/jemalloc_macros.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/jemalloc/include/jemalloc/jemalloc_macros.h.in b/deps/jemalloc/include/jemalloc/jemalloc_macros.h.in index 7f64d9ff9..a7028db34 100644 --- a/deps/jemalloc/include/jemalloc/jemalloc_macros.h.in +++ b/deps/jemalloc/include/jemalloc/jemalloc_macros.h.in @@ -100,3 +100,7 @@ # define JEMALLOC_RESTRICT_RETURN # define JEMALLOC_ALLOCATOR #endif + +/* This version of Jemalloc, modified for Redis, has the je_get_defrag_hint() + * function. */ +#define JEMALLOC_FRAG_HINT |