VirtualBox

Changeset 17659 in vbox


Ignore:
Timestamp:
Mar 11, 2009 8:17:06 AM (16 years ago)
Author:
vboxsync
Message:

pgmPoolFlushAllSpecialRoots: No need to push/pop a dynmap subset if we're only setting FFs.

File:
1 edited

Legend:

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

    r17611 r17659  
    37753775
    37763776#endif /* PGMPOOL_WITH_USER_TRACKING */
    3777 
    3778 
    37793777#ifdef IN_RING3
     3778
    37803779/**
    37813780 * Flushes all the special root pages as part of a pgmPoolFlushAllInt operation.
     
    37853784static void pgmPoolFlushAllSpecialRoots(PPGMPOOL pPool)
    37863785{
    3787 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0
    3788     /* Start a subset so we won't run out of mapping space. */
    3789     PVMCPU pVCpu = VMMGetCpu(pPool->CTX_SUFF(pVM));
    3790     uint32_t iPrevSubset = PGMDynMapPushAutoSubset(pVCpu);
    3791 #endif
    3792 
    37933786    /*
    37943787     * These special pages are all mapped into the indexes 1..PGMPOOL_IDX_FIRST.
     
    38003793     */
    38013794    VM_FF_SET(pPool->CTX_SUFF(pVM), VM_FF_PGM_SYNC_CR3);
    3802 
    3803 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0
    3804     /* Pop the subset. */
    3805     PGMDynMapPopAutoSubset(pVCpu, iPrevSubset);
    3806 #endif
    38073795}
    38083796
     
    39963984    STAM_PROFILE_STOP(&pPool->StatFlushAllInt, a);
    39973985}
     3986
    39983987#endif /* IN_RING3 */
    39993988
     
    43744363    pgmPoolFlushAllInt(pVM->pgm.s.CTX_SUFF(pPool));
    43754364}
    4376 #endif
     4365#endif /* IN_RING3 */
    43774366
    43784367#ifdef LOG_ENABLED
     
    44444433    return "Unknown kind!";
    44454434}
    4446 #endif
     4435#endif /* LOG_ENABLED*/
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