[Bug 31209] Feature Request - Kernel Samepage Merging
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Jul 13 09:10:17 CDT 2012
http://bugs.winehq.org/show_bug.cgi?id=31209
Dan Kegel <dank at kegel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dank at kegel.com
Severity|normal |enhancement
--- Comment #1 from Dan Kegel <dank at 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-windows-8.aspx
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.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list