VirtualBox

Changeset 50740 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Mar 11, 2014 5:27:35 PM (11 years ago)
Author:
vboxsync
Message:

VMM/HMR0: Don't flush tagged-TLB entries each time while leaving HM context.

File:
1 edited

Legend:

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

    r50540 r50740  
    14711471        AssertRCReturn(rc, rc);
    14721472        Assert(!pCpu->fConfigured);
    1473     }
    1474 
    1475     /* Reset these to force a TLB flush for the next entry. */
    1476     pVCpu->hm.s.idLastCpu    = NIL_RTCPUID;
     1473
     1474        /* For obtaining a non-zero ASID/VPID on next re-entry. */
     1475        pVCpu->hm.s.idLastCpu = NIL_RTCPUID;
     1476    }
     1477
     1478    /* Clear it while leaving HM context, hmPokeCpuForTlbFlush() relies on this. */
    14771479    pVCpu->hm.s.idEnteredCpu = NIL_RTCPUID;
    1478     VMCPU_FF_SET(pVCpu, VMCPU_FF_TLB_FLUSH);
    14791480
    14801481    /* Clear the VCPU <-> host CPU mapping as we've left HM context. */
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