mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Emap: Take (and propagate) a zeroed parameter.
Rtree needs this, and we should really treat them similarly.
This commit is contained in:
committed by
David Goldblatt
parent
182192f83c
commit
7013716aaa
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user