]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Use unlazy_fpu() for host FPU
authorSheng Yang <sheng@linux.intel.com>
Mon, 17 May 2010 09:08:27 +0000 (17:08 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:48 +0000 (10:35 +0300)
commit9d5891c192b9368975d58799dff819bdd730934b
tree114f0f2dfbe425bfb7736ebbeb1655c23d636db4
parente139754dceb6ecfa57cb62abf083cbed7380960f
KVM: x86: Use unlazy_fpu() for host FPU

We can avoid unnecessary fpu load when userspace process
didn't use FPU frequently.

Derived from Avi's idea.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c