Christoph Lameter wrote:
> On Sun, 13 Jan 2008, Avi Kivity wrote:
>
>   
>> I was just explaining how kvm shares memory among guests (which does not
>> require mmu notifiers); if you have some other configuration that can benefit
>> from mmu notifiers, then, well, great.
>>     
>
> I think you have two page tables pointing to the same memory location 
> right (not to page structs but two ptes)? Without a mmu notifier the pages 
> in this memory range cannot be evicted because otherwise ptes of the other 
> instance will point to a page that is now used for a different purpose.
>   

Even with just one guest we can't swap well without mmu notifiers.

kvm constructs new page tables for the guest that the Linux vm doesn't 
know about, so when Linux removes all the ptes, we need a callback to 
remove the kvm private ptes (and tlb entries).

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to