[kvm-devel] [PATCH 8/8] x86: KVM guest: VMX cr3 cache support

2008-03-02 Thread Avi Kivity
From: Marcelo Tosatti <[EMAIL PROTECTED]> Add support for the cr3 cache feature on Intel VMX CPU's. This avoids vmexits on context switch if the cr3 value is cached in one of the entries (currently 4 are present). This is especially important for Xenner, where each guest syscall involves a cr3 sw

Re: [kvm-devel] [PATCH 8/8] x86: KVM guest: VMX cr3 cache support

2008-03-06 Thread Zhao Forrest
> * We only need to hook operations that are MMU writes. We hook these so > that > * we can use lazy MMU mode to batch these operations. We could probably > * improve the performance of the host code if we used some of the > information > @@ -219,6 +359,9 @@ static void paravirt_ops_setup(void) > p

Re: [kvm-devel] [PATCH 8/8] x86: KVM guest: VMX cr3 cache support

2008-03-06 Thread Avi Kivity
Zhao Forrest wrote: >> * We only need to hook operations that are MMU writes. We hook these so >> that >> * we can use lazy MMU mode to batch these operations. We could probably >> * improve the performance of the host code if we used some of the >> information >> @@ -219,6 +359,9 @@ static void pa