You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the posix case, the mappings are created with the MAP_NORESERVE flag. As far as I can understand it (but I'm definitely not sure to understand it), it corresponds to a lazy allocation: the pages stay virtual until we touch them.
I'm not sure what is the equivalent in the Windows case. The CreateFileMappingA() function has the following flags: SEC_COMMIT and SEC_RESERVE, but they have apparently an effect for anonymous mappings only.
The text was updated successfully, but these errors were encountered:
In the posix case, the mappings are created with the
MAP_NORESERVE
flag. As far as I can understand it (but I'm definitely not sure to understand it), it corresponds to a lazy allocation: the pages stay virtual until we touch them.I'm not sure what is the equivalent in the Windows case. The
CreateFileMappingA()
function has the following flags:SEC_COMMIT
andSEC_RESERVE
, but they have apparently an effect for anonymous mappings only.The text was updated successfully, but these errors were encountered: