aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2016-11-18 10:07:46 -0800
committerChristopher Ferris <cferris@google.com>2016-11-18 14:18:08 -0800
commitf9004022ba4ec0a7d5baa0d019fb278c7ec6c52e (patch)
tree734a8217601939007ec0e4e645dca650d3401897 /include
parent04d995d2adf440f9971aa261bb7ef8cac79eb52d (diff)
downloadjemalloc-f9004022ba4ec0a7d5baa0d019fb278c7ec6c52e.tar.gz
Remove dss support in jemalloc.
This is only used when mmap fails, so it's almost completely worthless. Test: Booted on angler, bionic unit tests passed, jemalloc unit tests Test: passed. Ran the bionic unit tests and verified that brk/sbrk Test: are never called. Change-Id: Ie71a31337678983220d78c40bbaff6694eb22560
Diffstat (limited to 'include')
-rw-r--r--include/jemalloc/internal/jemalloc_internal_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/internal/jemalloc_internal_defs.h b/include/jemalloc/internal/jemalloc_internal_defs.h
index 2d00aaa..7512644 100644
--- a/include/jemalloc/internal/jemalloc_internal_defs.h
+++ b/include/jemalloc/internal/jemalloc_internal_defs.h
@@ -169,7 +169,7 @@
* JEMALLOC_DSS enables use of sbrk(2) to allocate chunks from the data storage
* segment (DSS).
*/
-#define JEMALLOC_DSS
+/* #undef JEMALLOC_DSS */
/* Support memory filling (junk/zero/quarantine/redzone). */
#define JEMALLOC_FILL