VirtualBox

Changeset 82897 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jan 28, 2020 10:47:20 PM (5 years ago)
Author:
vboxsync
Message:

PGMPool: PGMR0PoolGrow should return failure when allocating the first batch of pages fails. It and the caller PGMR3PoolGrow should report the incident to the release log. [adjustments] bugref:9627

File:
1 edited

Legend:

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

    r82896 r82897  
    141141            RTR0MemObjFree(hMemObj, true /*fFreeMappings*/);
    142142        }
    143         if (cCurPages > 0)
    144             rc = -rc;
     143        if (cCurPages > 64)
     144            LogRelMax(5, ("PGMR0PoolGrow: rc=%Rrc cNewPages=%#x cCurPages=%#x cMaxPages=%#x fCanUseHighMemory=%d\n",
     145                          rc, cNewPages, cCurPages, cMaxPages, fCanUseHighMemory));
    145146        else
    146147            LogRel(("PGMR0PoolGrow: rc=%Rrc cNewPages=%#x cCurPages=%#x cMaxPages=%#x fCanUseHighMemory=%d\n",
Note: See TracChangeset for help on using the changeset viewer.

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