Avi Kivity wrote:
> Chris Wright wrote:
>> * Izik Eidus ([EMAIL PROTECTED]) wrote:
>>  
>>> this module find this identical data (pages) and merge them into one 
>>> single page
>>> this new page is write protected so in any case the guest will try 
>>> to write to it do_wp_page will duplicate the page
>>>     
>>
>> What happens if you've merged more pages than you can recover on write
>> faults?
>>   
>
> You start to swap.  Just like Linux when you start to write on 
> fork()ed memory.
>
> A management application may start taking measures, like inflating 
> balloons and migrating to other hosts, but swapping is needed as a 
> last resort measure.
>
yes, write faults are getting into do_wp_page() that in turn create a 
new anonymous/swappable page
so it is safe.

-- 
woof.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to