aboutsummaryrefslogtreecommitdiffstats
path: root/include/jemalloc
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-05-23 15:10:25 -0700
committerJason Evans <jasone@canonware.com>2016-06-03 12:27:41 -0700
commit5c6be2bdd33d1eb9d544f46f128ba93d05a01492 (patch)
tree57de9839e4bc22b0e4d53fba68952999d53e62bd /include/jemalloc
parent0eb6f08959700428f3ae0df1d8ab1cd7bd4c82bc (diff)
downloadplatform_external_jemalloc_new-5c6be2bdd33d1eb9d544f46f128ba93d05a01492.tar.gz
platform_external_jemalloc_new-5c6be2bdd33d1eb9d544f46f128ba93d05a01492.tar.bz2
platform_external_jemalloc_new-5c6be2bdd33d1eb9d544f46f128ba93d05a01492.zip
Refactor chunk_purge_wrapper() to take extent argument.
Diffstat (limited to 'include/jemalloc')
-rw-r--r--include/jemalloc/internal/chunk.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/jemalloc/internal/chunk.h b/include/jemalloc/internal/chunk.h
index 085b43c0..5f5629eb 100644
--- a/include/jemalloc/internal/chunk.h
+++ b/include/jemalloc/internal/chunk.h
@@ -67,8 +67,7 @@ bool chunk_commit_wrapper(tsdn_t *tsdn, arena_t *arena,
bool chunk_decommit_wrapper(tsdn_t *tsdn, arena_t *arena,
chunk_hooks_t *chunk_hooks, extent_t *extent, size_t offset, size_t length);
bool chunk_purge_wrapper(tsdn_t *tsdn, arena_t *arena,
- chunk_hooks_t *chunk_hooks, void *chunk, size_t size, size_t offset,
- size_t length);
+ chunk_hooks_t *chunk_hooks, extent_t *extent, size_t offset, size_t length);
extent_t *chunk_split_wrapper(tsdn_t *tsdn, arena_t *arena,
chunk_hooks_t *chunk_hooks, extent_t *extent, size_t size_a, size_t size_b);
bool chunk_merge_wrapper(tsdn_t *tsdn, arena_t *arena,