Changeset 46315 in vbox
- Timestamp:
- May 29, 2013 6:04:59 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 86081
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r46294 r46315 1216 1216 * This can happen both for start & resume due to long jumps back to ring-3. 1217 1217 * If the TLB flush count changed, another VM (VCPU rather) has hit the ASID limit while flushing the TLB 1218 * or the host C puis online after a suspend/resume, so we cannot reuse the current ASID anymore.1218 * or the host CPU is online after a suspend/resume, so we cannot reuse the current ASID anymore. 1219 1219 */ 1220 1220 bool fNewASID = false; … … 1244 1244 if (pCpu->uCurrentAsid >= pVM->hm.s.uMaxAsid) 1245 1245 { 1246 pCpu->uCurrentAsid = 1; /* start at 1; host uses 0*/1247 pCpu->cTlbFlushes++; 1248 pCpu->fFlushAsidBeforeUse = true; 1246 pCpu->uCurrentAsid = 1; /* Wraparound to 1; host uses 0. */ 1247 pCpu->cTlbFlushes++; /* All VCPUs that run on this host CPU must use a new VPID. */ 1248 pCpu->fFlushAsidBeforeUse = true; /* All VCPUs that run on this host CPU must flush their new VPID before use. */ 1249 1249 } 1250 1250 … … 1424 1424 if (pCpu->uCurrentAsid >= pVM->hm.s.uMaxAsid) 1425 1425 { 1426 pCpu->uCurrentAsid = 1; /* start at1; host uses 0 */1427 pCpu-> fFlushAsidBeforeUse = true;1428 pCpu-> cTlbFlushes++;1426 pCpu->uCurrentAsid = 1; /* Wraparound to 1; host uses 0 */ 1427 pCpu->cTlbFlushes++; /* All VCPUs that run on this host CPU must use a new VPID. */ 1428 pCpu->fFlushAsidBeforeUse = true; /* All VCPUs that run on this host CPU must flush their new VPID before use. */ 1429 1429 } 1430 1430
Note:
See TracChangeset
for help on using the changeset viewer.