[PATCH] fix for process virtual size display

Joe Buehler jbuehler@hekimian.com
Mon May 19 21:59:00 GMT 2003


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



More information about the Cygwin-patches mailing list