mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-20 05:59:32 +03:00
Changed condition for large pages
This commit is contained in:
parent
99ea9e6c60
commit
c1f07a74a1
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ static void mi_segment_os_free(mi_segment_t* segment, size_t segment_size, mi_se
|
||||||
if (any_reset && mi_option_is_enabled(mi_option_reset_decommits)) {
|
if (any_reset && mi_option_is_enabled(mi_option_reset_decommits)) {
|
||||||
fully_committed = false;
|
fully_committed = false;
|
||||||
}
|
}
|
||||||
if (segment->page_kind >= MI_PAGE_LARGE && !mi_option_is_enabled(mi_option_eager_page_commit)) {
|
if (segment->page_kind < MI_PAGE_LARGE && !mi_option_is_enabled(mi_option_eager_page_commit)) {
|
||||||
fully_committed = false;
|
fully_committed = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue