Re: [PATCH] KVM: Simplify vcpu_enter_guest() mmu reload logic slightly

Marcelo Tosatti
2010-06-28T16:00:46Z

On Wed, Jun 23, 2010 at 02:26:18PM +0300, Avi Kivity wrote:
> No need to reload the mmu in between two different vcpu->requests checks.
>
> kvm_mmu_reload() may trigger KVM_REQ_TRIPLE_FAULT, but that will be caught
> during atomic guest entry later.
>
> Signed-off-by: Avi Kivity <avi@redhat.com>
> ---
> arch/x86/kvm/x86.c | 12 +++++-------
> 1 files changed, 5 insertions(+), 7 deletions(-)

Applied, thanks.