mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-21 18:32:13 +03:00
PA: Move in nactive counter.
This commit is contained in:
parent
c075fd0bcb
commit
527dd4cdb8
5 changed files with 38 additions and 36 deletions
|
|
@ -67,13 +67,6 @@ struct arena_s {
|
|||
*/
|
||||
atomic_u_t dss_prec;
|
||||
|
||||
/*
|
||||
* Number of pages in active extents.
|
||||
*
|
||||
* Synchronization: atomic.
|
||||
*/
|
||||
atomic_zu_t nactive;
|
||||
|
||||
/*
|
||||
* Extant large allocations.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -73,6 +73,13 @@ struct pa_shard_stats_s {
|
|||
*/
|
||||
typedef struct pa_shard_s pa_shard_t;
|
||||
struct pa_shard_s {
|
||||
/*
|
||||
* Number of pages in active extents.
|
||||
*
|
||||
* Synchronization: atomic.
|
||||
*/
|
||||
atomic_zu_t nactive;
|
||||
|
||||
/*
|
||||
* Collections of extents that were previously allocated. These are
|
||||
* used when allocating extents, in an attempt to re-use address space.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue