commit | 02daab21d94dc4cf01b2fd09863d59a436900322 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Wed Dec 30 12:40:26 2009 +0200 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 01 12:35:50 2010 -0300 |
tree | e7caff282dd9019e1b19cd549609c6b991f29152 | |
parent | e8467fda83cdc9de53972fee0cd2e6916cf66f41 [diff] |
KVM: Lazify fpu activation and deactivation Defer fpu deactivation as much as possible - if the guest fpu is loaded, keep it loaded until the next heavyweight exit (where we are forced to unload it). This reduces unnecessary exits. We also defer fpu activation on clts; while clts signals the intent to use the fpu, we can't be sure the guest will actually use it. Signed-off-by: Avi Kivity <avi@redhat.com>