VirtualBox

Changeset 22754 in vbox


Ignore:
Timestamp:
Sep 3, 2009 2:27:14 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51907
Message:

Enabled PGMPOOL_WITH_OPTIMIZED_DIRTY_PT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMInternal.h

    r22748 r22754  
    7070 */
    7171#ifndef IN_RC
    72 ////# define PGMPOOL_WITH_OPTIMIZED_DIRTY_PT
     72# define PGMPOOL_WITH_OPTIMIZED_DIRTY_PT
    7373#endif
    7474
     
    16701670     * It's a hack required because of REMR3NotifyHandlerPhysicalDeregister. */
    16711671    bool volatile       fReusedFlushPending;
    1672 #ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT
    16731672    /** Used to mark the page as dirty (write monitoring if temporarily off. */
    16741673    bool                fDirty;
    1675 #else
    1676     bool                bPadding1;
    1677 #endif
    16781674
    16791675    /** Used to indicate that this page can't be flushed. Important for cr3 root pages or shadow pae pd pages). */
    16801676    uint32_t            cLocked;
    1681 #ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT
    16821677    uint32_t            idxDirty;
    16831678    RTGCPTR             pvDirtyFault;
    1684 #else
    1685     uint32_t            bPadding2;
    1686 #endif
    16871679} PGMPOOLPAGE, *PPGMPOOLPAGE, **PPPGMPOOLPAGE;
    16881680/** Pointer to a const pool page. */
     
    17701762    /** The access handler description (HC ptr). */
    17711763    R3PTRTYPE(const char *)         pszAccessHandler;
    1772 # ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT
    17731764    /* Next available slot. */
    17741765    uint32_t                    idxFreeDirtyPage;
     
    17781769    uint16_t                    aIdxDirtyPages[8];
    17791770    uint64_t                    aDirtyPages[8][512];
    1780 # endif /* PGMPOOL_WITH_OPTIMIZED_DIRTY_PT */
    17811771#endif /* PGMPOOL_WITH_MONITORING */
    17821772    /** The number of pages currently in use. */
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