VirtualBox

Changeset 22707 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Sep 2, 2009 11:02:48 AM (15 years ago)
Author:
vboxsync
Message:

REM: Double the size of aHandlerNotifications and make sure there are at least 48 free entries in REMNotifyHandlerPhysicalFlushIfAlmostFull. This should hopefully get rid of the rare cases where we need to flush the notifications during pgmMapActivateCR3 in RC.

File:
1 edited

Legend:

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

    r21519 r22707  
    214214
    215215    /*
    216      * Less than 20 items means we should flush.
     216     * Less than 48 items means we should flush.
    217217     */
    218218    uint32_t cFree = 0;
     
    222222    {
    223223        Assert(idx < RT_ELEMENTS(pVM->rem.s.aHandlerNotifications));
    224         if (++cFree > 20)
     224        if (++cFree >= 48)
    225225            return;
    226226    }
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