VirtualBox

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


Ignore:
Timestamp:
Mar 17, 2010 10:56:28 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58951
Message:

PGMR0DynMap.cpp: PGMDynMapPushAutoSubset bugfix and logging (pgmmapset_max_fill_assert_fix.patch, #4468)

File:
1 edited

Legend:

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

    r26150 r27464  
    17261726    AssertReturn(pSet->cEntries != PGMMAPSET_CLOSED, UINT32_MAX);
    17271727    uint32_t        iPrevSubset = pSet->iSubset;
     1728    LogFlow(("PGMDynMapPushAutoSubset: pVCpu=%p iPrevSubset=%u\n", pVCpu, iPrevSubset));
     1729
    17281730    pSet->iSubset = pSet->cEntries;
    17291731    STAM_COUNTER_INC(&pVCpu->pgm.s.StatR0DynMapSubsets);
     
    17421744    PPGMMAPSET      pSet = &pVCpu->pgm.s.AutoSet;
    17431745    uint32_t        cEntries = pSet->cEntries;
     1746    LogFlow(("PGMDynMapPopAutoSubset: pVCpu=%p iPrevSubset=%u iSubset=%u cEntries=%u\n", pVCpu, iPrevSubset, pSet->iSubset, cEntries));
    17441747    AssertReturnVoid(cEntries != PGMMAPSET_CLOSED);
    1745     AssertReturnVoid(pSet->iSubset <= iPrevSubset || iPrevSubset == UINT32_MAX);
     1748    AssertReturnVoid(pSet->iSubset >= iPrevSubset || iPrevSubset == UINT32_MAX);
    17461749    STAM_COUNTER_INC(&pVCpu->pgm.s.aStatR0DynMapSetSize[(cEntries * 10 / RT_ELEMENTS(pSet->aEntries)) % 11]);
    17471750    if (    cEntries >= RT_ELEMENTS(pSet->aEntries) * 40 / 100
     
    18151818int pgmR0DynMapHCPageCommon(PVM pVM, PPGMMAPSET pSet, RTHCPHYS HCPhys, void **ppv)
    18161819{
     1820    LogFlow(("pgmR0DynMapHCPageCommon: pVM=%p pSet=%p HCPhys=%RHp ppv=%p\n",
     1821             pVM, pSet, HCPhys, ppv));
    18171822#ifdef VBOX_WITH_STATISTICS
    18181823    PVMCPU pVCpu = VMMGetCpu(pVM);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette