summaryrefslogtreecommitdiffstats
path: root/contrib/jemalloc/src/tcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/jemalloc/src/tcache.c')
-rw-r--r--contrib/jemalloc/src/tcache.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/jemalloc/src/tcache.c b/contrib/jemalloc/src/tcache.c
index be26b59..9c4970c 100644
--- a/contrib/jemalloc/src/tcache.c
+++ b/contrib/jemalloc/src/tcache.c
@@ -18,6 +18,12 @@ size_t tcache_maxclass;
/******************************************************************************/
+size_t tcache_salloc(const void *ptr)
+{
+
+ return (arena_salloc(ptr, false));
+}
+
void *
tcache_alloc_small_hard(tcache_t *tcache, tcache_bin_t *tbin, size_t binind)
{
OpenPOWER on IntegriCloud