VirtualBox

Changeset 24965 in vbox for trunk/src


Ignore:
Timestamp:
Nov 25, 2009 4:46:30 PM (15 years ago)
Author:
vboxsync
Message:

InvalidatePage: Reset the modification counter (OpenSolaris trashes tlb entries very often)

File:
1 edited

Legend:

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

    r24806 r24965  
    10891089# endif
    10901090
     1091    Log(("InvalidatePage %RGv (%RGp big=%d)\n", GCPtrPage, PdeSrc.u & GST_PDE_PG_MASK, fIsBigPage));
     1092
    10911093# ifdef IN_RING3
    10921094    /*
     
    12531255            PPGMPOOLPAGE    pShwPage = pgmPoolGetPage(pPool, PdeDst.u & SHW_PDE_PG_MASK);
    12541256            RTGCPHYS        GCPhys   = PdeSrc.u & GST_PDE_PG_MASK;
     1257
     1258# ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT
     1259            /* Reset the modification counter (OpenSolaris trashes tlb entries very often) */
     1260            pShwPage->cModifications = 1;
     1261# endif
     1262
    12551263# if PGM_SHW_TYPE == PGM_TYPE_PAE && PGM_GST_TYPE == PGM_TYPE_32BIT
    12561264            /* Select the right PDE as we're emulating a 4kb page table with 2 shadow page tables. */
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