diff options
author | Laurent Vivier <Laurent.Vivier@bull.net> | 2007-08-23 16:33:11 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 10:18:24 +0200 |
commit | 152d3f2f246ce3c2a0cf2fc6c2214663cd99aa83 (patch) | |
tree | e499626bab90fc75a9c0cc97e96c68a7fd4bbaa3 /drivers/kvm/kvm_main.c | |
parent | d39dba54ce71ab3234c387219b175dc36d37f85a (diff) | |
download | lwn-152d3f2f246ce3c2a0cf2fc6c2214663cd99aa83.tar.gz lwn-152d3f2f246ce3c2a0cf2fc6c2214663cd99aa83.zip |
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>
Diffstat (limited to 'drivers/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions