commit | 152d3f2f246ce3c2a0cf2fc6c2214663cd99aa83 | [log] [tgz] |
---|---|---|
author | Laurent Vivier <Laurent.Vivier@bull.net> | Thu Aug 23 16:33:11 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Sat Oct 13 10:18:24 2007 +0200 |
tree | e499626bab90fc75a9c0cc97e96c68a7fd4bbaa3 | |
parent | d39dba54ce71ab3234c387219b175dc36d37f85a [diff] |
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>