mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 00:23:33 +03:00
Add emap, for tracking extent locking.
This commit is contained in:
parent
0f686e82a3
commit
01f255161c
17 changed files with 257 additions and 197 deletions
|
|
@ -129,7 +129,7 @@ tbin_edatas_lookup_size_check(tsdn_t *tsdn, cache_bin_t *tbin, szind_t binind,
|
|||
size_t sz_sum = binind * nflush;
|
||||
void **bottom_item = cache_bin_bottom_item_get(tbin, binind);
|
||||
for (unsigned i = 0 ; i < nflush; i++) {
|
||||
rtree_edata_szind_read(tsdn, &extents_rtree,
|
||||
rtree_edata_szind_read(tsdn, &emap_global.rtree,
|
||||
rtree_ctx, (uintptr_t)*(bottom_item - i), true,
|
||||
&edatas[i], &szind);
|
||||
sz_sum -= szind;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue