Re: [PATCH 08/12] kvm/svm: cache nested intercepts

From: Joerg Roedel
Date: Wed Jul 29 2009 - 09:14:30 EST


On Wed, Jul 29, 2009 at 04:13:35PM +0300, Avi Kivity wrote:
>
> I don't see the benefit of this patch. Accessing the cache is just
> as expensive as accessing the real vmcb.

The benefit is that we don't have to gup and map the nested vmcb just
for checking who will take the intercept. Another reason is that with
this patch the behavior of nested SVM is more aligned to real hardware.

Joerg


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/