mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-06 10:26:18 +03:00
Add PAC: Page allocator classic.
For now, this is just a stub containing the ecaches, with no surrounding code changed. Eventually all the core allocator bits will be moved in, in the subsequent stack of commits.
This commit is contained in:
parent
1b5f632e0f
commit
777b0ba965
9 changed files with 106 additions and 84 deletions
|
|
@ -90,7 +90,7 @@ do_alloc_free_purge(void *arg) {
|
|||
pa_decay_all(TSDN_NULL, &test_data->shard,
|
||||
&test_data->shard.decay_dirty,
|
||||
&test_data->stats.decay_dirty,
|
||||
&test_data->shard.ecache_dirty, true);
|
||||
&test_data->shard.pac.ecache_dirty, true);
|
||||
malloc_mutex_unlock(TSDN_NULL,
|
||||
&test_data->shard.decay_dirty.mtx);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue