From: Avi Kivity Date: Wed, 27 Apr 2011 16:42:18 +0000 (+0300) Subject: KVM: VMX: Cache vmcs segment fields X-Git-Tag: v3.0-rc1~350^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fb92db1ec08f3235c500e7f460eeb78092d844e;p=pandora-kernel.git KVM: VMX: Cache vmcs segment fields Since the emulator now checks segment limits and access rights, it generates a lot more accesses to the vmcs segment fields. Undo some of the performance hit by cacheing those fields in a read-only cache (the entire cache is invalidated on any write, or on guest exit). Signed-off-by: Avi Kivity --- Reading git-diff-tree failed