KVM: VMX: Cache cpl
authorAvi Kivity <avi@redhat.com>
Mon, 7 Mar 2011 13:26:44 +0000 (15:26 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:56:54 +0000 (07:56 -0400)
We may read the cpl quite often in the same vmexit (instruction privilege
check, memory access checks for instruction and operands), so we gain
a bit if we cache the value.

Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found