Marcelo Tosatti wrote:
> So the questions are, why the benefit is not similar (vm-exit's are now 
> way cheaper?) and is it worth to merge this given the results?
>   

Yes, vmexits are now about 5 times faster compared to older kvm.

> +
> +/*
> + * Avoid the VM exit upon cr3 load by using the cached
> + * ->active_mm->pgd value:
> + */
> +static void kvm_flush_tlb_user(void)
> +{
> +     kvm_write_cr3(__pa(current->active_mm->pgd));
> +}

Would be nice to get this for non-paravirt kernels (perhaps by keeping 
__pa(pgd) in a pda variable, instead of reading it through current).

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


-------------------------------------------------------------------------
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