VirtualBox

Changeset 106309 in vbox


忽略:
时间戳:
2024-10-14 下午02:58:19 (3个月前)
作者:
vboxsync
消息:

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

文件:
修改了1个

图例:

未修改
增加
删除
  • 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