PA: Move mapped into pa stats.

This commit is contained in:
David Goldblatt 2020-03-09 12:06:19 -07:00 committed by David Goldblatt
parent 6ca918d0cf
commit 70d12ffa05
7 changed files with 44 additions and 35 deletions

View file

@ -151,7 +151,7 @@ large_ralloc_no_move_expand(tsdn_t *tsdn, edata_t *edata, size_t usize,
emap_remap(tsdn, &emap_global, edata, szind, false);
if (config_stats && new_mapping) {
arena_stats_mapped_add(tsdn, &arena->stats, trailsize);
pa_shard_stats_mapped_add(tsdn, &arena->pa_shard, trailsize);
}
if (zero) {