http://bugs.winehq.org/show_bug.cgi?id=31209
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Severity|normal |enhancement
--- Comment #1 from Dan Kegel dank@kegel.com 2012-07-13 09:10:17 CDT --- For what it's worth, Microsoft has a similar feature that is on by default in Windows 8:
http://blogs.msdn.com/b/b8/archive/2011/10/07/reducing-runtime-memory-in-win...
Linux's feature is described here: http://www.kernel.org/doc/Documentation/vm/ksm.txt
It might be challenging to get this right, since that document advises against using the feature indiscriminately. You could try it yourself by e.g. adding madvise(base, size, MADV_MERGEABLE); into NtAllocateVirtualMemory() in dlls/ntdll/virtual.c.