Re: [Mono-dev] [PATCH] Cause libgc to return some unused memory to the system

2009-08-24 Thread pablosantosl...@terra.es
We tested it on our Plastic SCM load tests and it worked as expected. pablo www.plasticscm.com Dick Porter wrote: Hi all Attached is a patch to libgc that will allow it to actually unmap memory when USE_MUNMAP is defined. Currently, the unmap code just sets the mmap flags on a region

Re: [Mono-dev] [PATCH] Cause libgc to return some unused memory to the system

2009-08-20 Thread Zoltan Varga
Hi, It might be a good idea to ask the libgc mailing list as to why this isn't done in the first place. Zoltan On Thu, Aug 13, 2009 at 8:16 PM, Dick Porter d...@acm.org wrote: Hi all Attached is a patch to libgc that will allow it to actually unmap memory

[Mono-dev] [PATCH] Cause libgc to return some unused memory to the system

2009-08-13 Thread Dick Porter
Hi all Attached is a patch to libgc that will allow it to actually unmap memory when USE_MUNMAP is defined. Currently, the unmap code just sets the mmap flags on a region to 'no access'. The patch unlinks blocks from the gc free list larger than a defined min size (currently 4k bytes), that