Changeset 19657 in vbox
- Timestamp:
- May 13, 2009 12:40:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp
r19652 r19657 1638 1638 rc = gvmmR0SchedWakeUpOne(pGVM, &pGVM->aCpus[idCpu]); 1639 1639 1640 /* 1641 * While we're here, do a round of scheduling. 1642 */ 1643 Assert(ASMGetFlags() & X86_EFL_IF); 1644 const uint64_t u64Now = RTTimeNanoTS(); /* (GIP time) */ 1645 pGVM->gvmm.s.StatsSched.cWakeUpWakeUps += gvmmR0SchedDoWakeUps(pGVMM, u64Now); 1640 if (fTakeUsedLock) 1641 { 1642 /* 1643 * While we're here, do a round of scheduling. 1644 */ 1645 Assert(ASMGetFlags() & X86_EFL_IF); 1646 const uint64_t u64Now = RTTimeNanoTS(); /* (GIP time) */ 1647 pGVM->gvmm.s.StatsSched.cWakeUpWakeUps += gvmmR0SchedDoWakeUps(pGVMM, u64Now); 1648 } 1646 1649 } 1647 1650 else 1648 1651 rc = VERR_INVALID_CPU_ID; 1649 1652 1650 int rc2 = gvmmR0UsedUnlock(pGVMM); 1651 AssertRC(rc2); 1653 if (fTakeUsedLock) 1654 { 1655 int rc2 = gvmmR0UsedUnlock(pGVMM); 1656 AssertRC(rc2); 1657 } 1652 1658 } 1653 1659 … … 1725 1731 rc = VERR_INVALID_CPU_ID; 1726 1732 1727 int rc2 = gvmmR0UsedUnlock(pGVMM); 1728 AssertRC(rc2); 1733 if (fTakeUsedLock) 1734 { 1735 int rc2 = gvmmR0UsedUnlock(pGVMM); 1736 AssertRC(rc2); 1737 } 1729 1738 } 1730 1739
Note:
See TracChangeset
for help on using the changeset viewer.