commit page on demand

This commit is contained in:
daanx 2024-12-23 18:33:37 -08:00
parent 9a7c0d443a
commit ba68810333
7 changed files with 69 additions and 25 deletions

View file

@ -400,6 +400,7 @@ typedef enum mi_option_e {
mi_option_max_page_candidates, // max candidate pages to consider for allocation (=4)
mi_option_max_vabits, // max user space virtual address bits to consider (=48)
mi_option_pagemap_commit, // commit the full pagemap (to always catch invalid pointer uses) (=0)
mi_option_page_commit_on_demand, // commit page memory on-demand
_mi_option_last,
// legacy option names
mi_option_large_os_pages = mi_option_allow_large_os_pages,