mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-23 04:15:39 +03:00
SEC: Allow arbitrarily many shards, cached sizes.
This commit is contained in:
parent
11beab38bc
commit
36c6bfb963
7 changed files with 59 additions and 41 deletions
|
|
@ -1781,7 +1781,7 @@ malloc_init_hard_a0_locked() {
|
|||
opt_hpa = false;
|
||||
}
|
||||
} else if (opt_hpa) {
|
||||
if (pa_shard_enable_hpa(&a0->pa_shard, &opt_hpa_opts,
|
||||
if (pa_shard_enable_hpa(TSDN_NULL, &a0->pa_shard, &opt_hpa_opts,
|
||||
&opt_hpa_sec_opts)) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue