mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-29 22:48:05 +03:00
Emap: Comments and cleanup
Document some of the public interface, and hide the functions that are no longer used outside of the emap module.
This commit is contained in:
parent
231d1477e5
commit
08eb1e6c31
2 changed files with 24 additions and 13 deletions
|
|
@ -105,7 +105,7 @@ emap_lock_edata_from_addr(tsdn_t *tsdn, emap_t *emap, rtree_ctx_t *rtree_ctx,
|
|||
return ret;
|
||||
}
|
||||
|
||||
bool
|
||||
static bool
|
||||
emap_rtree_leaf_elms_lookup(tsdn_t *tsdn, emap_t *emap, rtree_ctx_t *rtree_ctx,
|
||||
const edata_t *edata, bool dependent, bool init_missing,
|
||||
rtree_leaf_elm_t **r_elm_a, rtree_leaf_elm_t **r_elm_b) {
|
||||
|
|
@ -126,7 +126,7 @@ emap_rtree_leaf_elms_lookup(tsdn_t *tsdn, emap_t *emap, rtree_ctx_t *rtree_ctx,
|
|||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
emap_rtree_write_acquired(tsdn_t *tsdn, emap_t *emap, rtree_leaf_elm_t *elm_a,
|
||||
rtree_leaf_elm_t *elm_b, edata_t *edata, szind_t szind, bool slab) {
|
||||
rtree_leaf_elm_write(tsdn, &emap->rtree, elm_a, edata, szind, slab);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue