Changeset 42036 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Jul 6, 2012 4:17:50 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 78928
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r42024 r42036 166 166 * Ensure each VCPU scheduled on this CPU gets a new VPID on resume. See @bugref{6255}. 167 167 */ 168 pCpu-> cTLBFlushes++;168 pCpu->uCurrentASID = 0; 169 169 170 170 return VINF_SUCCESS; … … 2399 2399 */ 2400 2400 bool fNewASID = false; 2401 if ( pVCpu->hwaccm.s.idLastCpu != pCpu->idCpu 2402 || pVCpu->hwaccm.s.cTLBFlushes != pCpu->cTLBFlushes) 2401 if ( pVCpu->hwaccm.s.idLastCpu != pCpu->idCpu 2402 || pVCpu->hwaccm.s.cTLBFlushes != pCpu->cTLBFlushes 2403 || pCpu->uCurrentASID == 0) 2403 2404 { 2404 2405 pVCpu->hwaccm.s.fForceTLBFlush = true; … … 2524 2525 * If the TLB flush count shouldn't really change in this EPT-only case. 2525 2526 */ 2526 if ( pVCpu->hwaccm.s.idLastCpu != pCpu->idCpu 2527 || pVCpu->hwaccm.s.cTLBFlushes != pCpu->cTLBFlushes) 2527 if ( pVCpu->hwaccm.s.idLastCpu != pCpu->idCpu 2528 || pVCpu->hwaccm.s.cTLBFlushes != pCpu->cTLBFlushes 2529 || pCpu->uCurrentASID == 0) 2528 2530 { 2529 2531 pVCpu->hwaccm.s.fForceTLBFlush = true; … … 2589 2591 * so we cannot reuse the current ASID anymore. 2590 2592 */ 2591 if ( pVCpu->hwaccm.s.idLastCpu != pCpu->idCpu 2592 || pVCpu->hwaccm.s.cTLBFlushes != pCpu->cTLBFlushes) 2593 if ( pVCpu->hwaccm.s.idLastCpu != pCpu->idCpu 2594 || pVCpu->hwaccm.s.cTLBFlushes != pCpu->cTLBFlushes 2595 || pCpu->uCurrentASID == 0) 2593 2596 { 2594 2597 /* Force a TLB flush on VM entry. */
Note:
See TracChangeset
for help on using the changeset viewer.