]> err.no Git - linux-2.6/commit
KVM: VMX: Split segments reload in vmx_load_host_state()
authorLaurent Vivier <Laurent.Vivier@bull.net>
Thu, 23 Aug 2007 14:33:11 +0000 (16:33 +0200)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:24 +0000 (10:18 +0200)
commit152d3f2f246ce3c2a0cf2fc6c2214663cd99aa83
treee499626bab90fc75a9c0cc97e96c68a7fd4bbaa3
parentd39dba54ce71ab3234c387219b175dc36d37f85a
KVM: VMX: Split segments reload in vmx_load_host_state()

vmx_load_host_state() bundles fs, gs, ldt, and tss reloading into
one in the hope that it is infrequent. With smp guests, fs reloading is
frequent due to fs being used by threads.

Unbundle the reloads so reduce expensive gs reloads.

Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c