VirtualBox

Changeset 106309 in vbox


Ignore:
Timestamp:
Oct 14, 2024 2:58:19 PM (6 weeks ago)
Author:
vboxsync
Message:

VMM/IEM: Some more tweaking of the bitmap scanning. bugref:10720

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllN8veExecMem.cpp

    r106307 r106309  
    852852    }
    853853
    854     pExecMemAllocator->cFruitlessChunkScans += 1;
    855854    return NULL;
    856855}
     
    889888        void *pvRet = iemExecMemAllocatorAllocInChunkInt(pExecMemAllocator, pbmAlloc, 0,
    890889                                                         RT_MIN(pExecMemAllocator->cUnitsPerChunk,
    891                                                               RT_ALIGN_32(idxHint + cReqUnits, 64)),
     890                                                                RT_ALIGN_32(idxHint + cReqUnits, 64*4)),
    892891                                                         cReqUnits, idxChunk, pTb, (void **)ppaExec, ppChunkCtx);
     892        if (!pvRet)
     893            pExecMemAllocator->cFruitlessChunkScans += 1;
    893894#ifdef VBOX_WITH_STATISTICS
    894         if (pvRet)
     895        else
    895896            pExecMemAllocator->cbUnusable += (cReqUnits << IEMEXECMEM_ALT_SUB_ALLOC_UNIT_SHIFT) - cbReq;
    896897#endif
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