* Gordan Bobic (gor...@bobich.net) wrote:
> Chris Wright wrote:
>>> 2) For all memory in a system, without patching all applications to   
>>> register with it
>>
>> No.
>>
>> Right now, an app must be modified to call madvise(MADV_MERGEABLE).
>> Further, the core scanning loop that ksmd performs is based on per-process
>> virtual memory regions rather than physical memory.
>
> You mean only pages within the same process are de-duplicated?

No, de-duplication can span processes.  Each process registers some range(s)
of its virtual address space with the scanning daemon.  The scanning daemon
will then search all of the registered memory ranges for duplicates.  This
is an opt-in thing for each process though.

thanks,
-chris
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to