VirtualBox

Changeset 46458 in vbox for trunk


Ignore:
Timestamp:
Jun 10, 2013 9:56:40 AM (12 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Don't miss flushing-by-EPT if we the VCPU gets rescheduled to another host CPU before the flush happens.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r46445 r46458  
    12551255     * Check for explicit TLB shootdowns.
    12561256     */
     1257    bool fExplicitTlbFlush = false;
    12571258    if (VMCPU_FF_TEST_AND_CLEAR(pVCpu, VMCPU_FF_TLB_FLUSH))
    12581259    {
    12591260        pVCpu->hm.s.fForceTLBFlush = true;
     1261        fExplicitTlbFlush = true;
    12601262        STAM_COUNTER_INC(&pVCpu->hm.s.StatFlushTlb);
    12611263    }
     
    12781280                hmR0VmxFlushVpid(pVM, pVCpu, pVM->hm.s.vmx.enmFlushVpid, 0 /* GCPtr */);
    12791281        }
    1280         else
     1282
     1283        if (fExplicitTlbFlush)
    12811284        {
    12821285            /*
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette