PA: Move edata_avail stat in, make it non-atomic.

This commit is contained in:
David Goldblatt
2020-03-11 18:14:53 -07:00
committed by David Goldblatt
parent f6bfa3dcca
commit 3c28aa6f17
5 changed files with 8 additions and 13 deletions

View File

@@ -52,9 +52,6 @@ struct arena_stats_s {
*/
locked_zu_t retained; /* Derived. */
/* Number of edata_t structs allocated by base, but not being used. */
atomic_zu_t edata_avail; /* Derived. */
atomic_zu_t base; /* Derived. */
atomic_zu_t internal;
atomic_zu_t resident; /* Derived. */

View File

@@ -69,6 +69,9 @@ struct pa_shard_stats_s {
*/
locked_zu_t mapped;
/* Number of edata_t structs allocated by base, but not being used. */
size_t edata_avail; /* Derived. */
/* VM space had to be leaked (undocumented). Normally 0. */
atomic_zu_t abandoned_vm;
};