VirtualBox

Changeset 20140 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
May 29, 2009 9:50:33 AM (16 years ago)
Author:
vboxsync
Message:

No need to inform all VCPUs about a pending pool flush. The current VCPU will take care of it.

File:
1 edited

Legend:

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

    r20136 r20140  
    26852685int pgmPoolTrackFlushGCPhys(PVM pVM, PPGMPAGE pPhysPage, bool *pfFlushTLBs)
    26862686{
     2687    PVMCPU pVCpu = VMMGetCpu(pVM);
    26872688    pgmLock(pVM);
    26882689    int rc = VINF_SUCCESS;
     
    27042705            /* Start a subset here because pgmPoolTrackFlushGCPhysPTsSlow and
    27052706               pgmPoolTrackFlushGCPhysPTs will/may kill the pool otherwise. */
    2706             PVMCPU pVCpu = VMMGetCpu(pVM);
    27072707            uint32_t iPrevSubset = PGMDynMapPushAutoSubset(pVCpu);
    27082708# endif
     
    27322732# ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0
    27332733        /* Start a subset here because pgmPoolTrackFlushGCPhysPTsSlow kill the pool otherwise. */
    2734         PVMCPU pVCpu = VMMGetCpu(pVM);
    27352734        uint32_t iPrevSubset = PGMDynMapPushAutoSubset(pVCpu);
    27362735# endif
     
    27512750    {
    27522751        pVM->pgm.s.fGlobalSyncFlags |= PGM_GLOBAL_SYNC_CLEAR_PGM_POOL;
    2753         for (unsigned i=0;i<pVM->cCPUs;i++)
    2754         {
    2755             PVMCPU pVCpu = &pVM->aCpus[i];
    2756             VMCPU_FF_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3);
    2757         }
     2752        VMCPU_FF_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3);
    27582753        rc = VINF_PGM_SYNC_CR3;
    27592754    }
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