VirtualBox

Changeset 32410 in vbox


Ignore:
Timestamp:
Sep 10, 2010 2:19:33 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
65772
Message:

Got rid of unnecessary dirty page flush in InvalidatePage. (NOTE: high risk change)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r32401 r32410  
    11191119    LogFlow(("InvalidatePage %RGv\n", GCPtrPage));
    11201120
    1121 # ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT
    1122     /** @todo this shouldn't be necessary. */
    1123     if (pPool->cDirtyPages)
    1124         pgmPoolResetDirtyPages(pVM);
    1125 # endif
    1126 
    11271121    /*
    11281122     * Get the shadow PD entry and skip out if this PD isn't present.
     
    12781272# ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT
    12791273            /* Reset the modification counter (OpenSolaris trashes tlb entries very often) */
    1280             if (pShwPage->cModifications)
     1274            if (    !pShwPage->fDirty
     1275                &&  pShwPage->cModifications)
    12811276                pShwPage->cModifications = 1;
    12821277# endif
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette