summaryrefslogtreecommitdiffstats
path: root/src/arena.c
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2012-02-13 18:56:17 (GMT)
committerJason Evans <je@fb.com>2012-02-13 18:56:17 (GMT)
commit4162627757889ea999264c2ddbc3c354768774e2 (patch)
treec0a4528bb29b5eb1b305bad15c13b248429041e3 /src/arena.c
parentfd56043c53f1cd1335ae6d1c0ee86cc0fbb9f12e (diff)
downloadjemalloc-4162627757889ea999264c2ddbc3c354768774e2.zip
jemalloc-4162627757889ea999264c2ddbc3c354768774e2.tar.gz
jemalloc-4162627757889ea999264c2ddbc3c354768774e2.tar.bz2
Remove the swap feature.
Remove the swap feature, which enabled per application swap files. In practice this feature has not proven itself useful to users.
Diffstat (limited to 'src/arena.c')
-rw-r--r--src/arena.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arena.c b/src/arena.c
index 4ada6a3..c2632d9 100644
--- a/src/arena.c
+++ b/src/arena.c
@@ -671,10 +671,11 @@ arena_chunk_purge(arena_t *arena, arena_chunk_t *chunk)
* madvise(..., MADV_DONTNEED) results in zero-filled pages for anonymous
* mappings, but not for file-backed mappings.
*/
- (config_swap && swap_enabled) ? CHUNK_MAP_UNZEROED : 0;
+ 0
#else
- CHUNK_MAP_UNZEROED;
+ CHUNK_MAP_UNZEROED
#endif
+ ;
/*
* If chunk is the spare, temporarily re-allocate it, 1) so that its