diff options
author | Qi Wang <interwq@gwu.edu> | 2017-04-27 21:55:07 (GMT) |
---|---|---|
committer | Qi Wang <interwq@gmail.com> | 2017-04-28 00:49:39 (GMT) |
commit | 5c56603e91d8d0021280615f86b95efe0463b6a8 (patch) | |
tree | f2fb985c0a91d3ecf78569ff0279626de20129b5 /src | |
parent | b0c2a28280d363fc85aa8b4fdbe7814ef46cb17b (diff) | |
download | jemalloc-5c56603e91d8d0021280615f86b95efe0463b6a8.zip jemalloc-5c56603e91d8d0021280615f86b95efe0463b6a8.tar.gz jemalloc-5c56603e91d8d0021280615f86b95efe0463b6a8.tar.bz2 |
Inline tcache_bin_flush_small_impl / _large_impl.
Diffstat (limited to 'src')
-rw-r--r-- | src/tcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tcache.c b/src/tcache.c index 292c017..a7e05b1 100644 --- a/src/tcache.c +++ b/src/tcache.c @@ -107,7 +107,7 @@ tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache, return ret; } -static unsigned +static inline unsigned tcache_bin_flush_small_impl(tsd_t *tsd, tcache_t *tcache, tcache_bin_t *tbin, szind_t binind, unsigned rem, bool must_flush) { assert(binind < NBINS); @@ -228,7 +228,7 @@ tcache_bin_try_flush_small(tsd_t *tsd, tcache_t *tcache, tcache_bin_t *tbin, false); } -static unsigned +static inline unsigned tcache_bin_flush_large_impl(tsd_t *tsd, tcache_t *tcache, tcache_bin_t *tbin, szind_t binind, unsigned rem, bool must_flush) { assert(binind < nhbins); |