VirtualBox

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


Ignore:
Timestamp:
Aug 28, 2009 7:47:27 AM (15 years ago)
Author:
vboxsync
Message:

Update

File:
1 edited

Legend:

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

    r22544 r22545  
    17021702    {
    17031703# ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT
    1704         pgmLock(pVM);
    1705         pgmPoolResetDirtyPages(pVM);
    1706         pgmUnlock(pVM);
     1704        PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool);
     1705        if (pPool->cDirtyPages)
     1706        {
     1707            pgmLock(pVM);
     1708            pgmPoolResetDirtyPages(pVM);
     1709            pgmUnlock(pVM);
     1710        }
    17071711# endif
    17081712        /*
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