This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [PATCH] fix for process virtual size display
Pierre A. Humblet wrote:
MEM_RESERVE Reserves a range of the process's virtual address space without
allocating any actual physical storage in memory or in the paging file on disk.
Other memory allocation functions, such as malloc and LocalAlloc, cannot use a
reserved range of memory until it is released.
Yes -- I am wondering what Windows is really doing internally, though.
What does it mean that no physical storage is allocated in memory? Obviously
no pages are allocated. But do they allocate page tables so they can catch
accesses to the reserved memory? Or for performance reasons, so it can
be changed to committed faster?
They're keeping track of reserved memory somehow, the question is what
amount of resource is being dedicated to the task.
--
Joe Buehler