[PATCH] fix for process virtual size display

Joe Buehler jbuehler@hekimian.com
Tue May 20 12:31:00 GMT 2003


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



More information about the Cygwin-patches mailing list