mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
Inline tcache_bin_flush_small_impl / _large_impl.
This commit is contained in:
parent
b0c2a28280
commit
5c56603e91
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue