diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2010-11-01 09:01:29 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 04:28:52 -0500 |
commit | 2eec73437487aa690882cafddca6e4d93df46f26 (patch) | |
tree | 07dc35deb31d99607eac676e38215abe3996ce65 /drivers | |
parent | aac8763697c6b7aa133abe8092a25154960e9a0c (diff) |
KVM: x86: Avoid issuing wbinvd twice
Micro optimization to avoid calling wbinvd twice on the CPU that has to
emulate it. As we might be preempted between smp_call_function_many and
the local wbinvd, the cache might be filled again so that real work
could be done uselessly.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions