VirtualBox

Changeset 52809 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Sep 22, 2014 9:55:50 AM (10 years ago)
Author:
vboxsync
Message:

VMM/MMPagePool: fixed a bug which lead to allocating more hyper space than necessary for MM subpool page bitmap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/MMPagePool.cpp

    r44528 r52809  
    232232    PMMPAGESUBPOOL  pSub;
    233233    int rc = MMHyperAlloc(pPool->pVM,
    234                           RT_OFFSETOF(MMPAGESUBPOOL, auBitmap[cPages / (sizeof(pSub->auBitmap[0] * 8))])
     234                          RT_OFFSETOF(MMPAGESUBPOOL, auBitmap[cPages / (sizeof(pSub->auBitmap[0]) * 8)])
    235235                          + (sizeof(SUPPAGE) + sizeof(MMPPLOOKUPHCPHYS)) * cPages
    236236                          + sizeof(MMPPLOOKUPHCPTR),
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