This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix for process virtual size display


Joe Buehler wrote:
>
> 
> Does anyone on the list know what "reserved" memory means in Windows?  What
> does the kernel actually allocate?  Is there just a few bytes indicating the
> the memory range is "reserved"?  Or are page tables allocated for the reserved
> memory?  Or????
> --
> Joe Buehler

<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/memory/base/virtualalloc.asp>

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.

Pierre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]