summaryrefslogtreecommitdiffstats
path: root/src/tcache.c
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2012-04-20 01:28:03 (GMT)
committerJason Evans <je@fb.com>2012-04-20 01:28:03 (GMT)
commitf7088e6c992d079bc3162e0c48ed4dc5def6d263 (patch)
tree5235e14406e3ffaf47e04eccc208b17932e5346d /src/tcache.c
parent13067ec8350f213c3accc2e5fb70ca5a503e0e17 (diff)
downloadjemalloc-f7088e6c992d079bc3162e0c48ed4dc5def6d263.zip
jemalloc-f7088e6c992d079bc3162e0c48ed4dc5def6d263.tar.gz
jemalloc-f7088e6c992d079bc3162e0c48ed4dc5def6d263.tar.bz2
Make arena_salloc() an inline function.
Diffstat (limited to 'src/tcache.c')
-rw-r--r--src/tcache.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tcache.c b/src/tcache.c
index be26b59..9c4970c 100644
--- a/src/tcache.c
+++ b/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)
{