VirtualBox

Changeset 32481 in vbox


Ignore:
Timestamp:
Sep 14, 2010 1:37:53 PM (14 years ago)
Author:
vboxsync
Message:

Enabled dirty page optimization for the pae/32-bit shadow/guest case.

File:
1 edited

Legend:

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

    r32431 r32481  
    11061106#ifdef IN_RING0
    11071107    /* Maximum nr of modifications depends on the page type. */
    1108     if (pPage->enmKind == PGMPOOLKIND_PAE_PT_FOR_PAE_PT)
     1108    if (    pPage->enmKind == PGMPOOLKIND_PAE_PT_FOR_PAE_PT
     1109        ||  pPage->enmKind == PGMPOOLKIND_PAE_PT_FOR_32BIT_PT)
    11091110        cMaxModifications = 4;
    11101111    else
     
    12471248    if (    pPage->cModifications >= cMaxModifications
    12481249        &&  !fForcedFlush
    1249 # if 1
    1250         &&  (pPage->enmKind == PGMPOOLKIND_PAE_PT_FOR_PAE_PT)
    1251 # else /* test code */
    12521250        &&  (pPage->enmKind == PGMPOOLKIND_PAE_PT_FOR_PAE_PT || pPage->enmKind == PGMPOOLKIND_PAE_PT_FOR_32BIT_PT)
    1253 # endif
    12541251        &&  (   fNotReusedNotForking
    12551252             || (   !pgmPoolMonitorIsReused(pVM, pVCpu, pRegFrame, pDis, pvFault)
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