mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-04 19:24:17 +03:00
Emap: Take (and propagate) a zeroed parameter.
Rtree needs this, and we should really treat them similarly.
This commit is contained in:
parent
182192f83c
commit
7013716aaa
3 changed files with 5 additions and 4 deletions
|
|
@ -1572,7 +1572,8 @@ malloc_init_hard_a0_locked() {
|
|||
if (base_boot(TSDN_NULL)) {
|
||||
return true;
|
||||
}
|
||||
if (emap_init(&emap_global)) {
|
||||
/* emap_global is static, hence zeroed. */
|
||||
if (emap_init(&emap_global, /* zeroed */ true)) {
|
||||
return true;
|
||||
}
|
||||
if (extent_boot()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue