Changeset 10508 in vbox
- Timestamp:
- Jul 11, 2008 9:58:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r10506 r10508 873 873 874 874 #ifdef LOG_ENABLED 875 PHWACCM_CPUINFO pCpuTemp = HWACCMR0GetCurrentCpu(); 876 if ( pVM->hwaccm.s.svm.idLastCpu != pCpuTemp->idCpu 877 || pVM->hwaccm.s.svm.cTLBFlushes != pCpuTemp->cTLBFlushes) 878 { 879 if (pVM->hwaccm.s.svm.idLastCpu != pCpuTemp->idCpu) 880 Log(("Force TLB flush due to rescheduling to a different cpu (%d vs %d)\n", pVM->hwaccm.s.svm.idLastCpu, pCpuTemp->idCpu)); 881 else 882 Log(("Force TLB flush due to changed TLB flush count (%x vs %x)\n", pVM->hwaccm.s.svm.cTLBFlushes, pCpuTemp->cTLBFlushes)); 883 } 884 if (pCpuTemp->fFlushTLB) 885 Log(("Force TLB flush: first time cpu %d is used -> flush\n", pCpuTemp->idCpu)); 875 { 876 PHWACCM_CPUINFO pCpuTemp = HWACCMR0GetCurrentCpu(); 877 if ( pVM->hwaccm.s.svm.idLastCpu != pCpuTemp->idCpu 878 || pVM->hwaccm.s.svm.cTLBFlushes != pCpuTemp->cTLBFlushes) 879 { 880 if (pVM->hwaccm.s.svm.idLastCpu != pCpuTemp->idCpu) 881 Log(("Force TLB flush due to rescheduling to a different cpu (%d vs %d)\n", pVM->hwaccm.s.svm.idLastCpu, pCpuTemp->idCpu)); 882 else 883 Log(("Force TLB flush due to changed TLB flush count (%x vs %x)\n", pVM->hwaccm.s.svm.cTLBFlushes, pCpuTemp->cTLBFlushes)); 884 } 885 if (pCpuTemp->fFlushTLB) 886 Log(("Force TLB flush: first time cpu %d is used -> flush\n", pCpuTemp->idCpu)); 887 } 886 888 #endif 887 889
Note:
See TracChangeset
for help on using the changeset viewer.