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


Chris January wrote:

I'm actually inclined to keep vmc.VirtualSize instead of vmc.PagefileUsage.
However I found this formula cited in one of the Linux man pages:
          vsize=(brk-start_code+PAGE_SIZE-1)+(TASK_SIZE-esp)
which would seem to indicate vmsize actually refers to committed memory.
With this in mind, I'm happy for this patch to be committed. Further work
may be
needed to include DLLs in that figure, however that would be a separate
patch.

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


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