VirtualBox

Changeset 26364 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 9, 2010 1:31:20 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57457
Message:

Flush the PGM pool cache as we might have stale references to pages that we just freed. (ballooning)

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

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

    r26277 r26364  
    33033303void            pgmR3PoolReset(PVM pVM);
    33043304void            pgmR3PoolClearAll(PVM pVM);
     3305DECLCALLBACK(VBOXSTRICTRC) pgmR3PoolClearAllRendezvous(PVM pVM, PVMCPU pVCpu, void *pvUser);
    33053306
    33063307#endif /* IN_RING3 */
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r26348 r26364  
    830830    }
    831831    GMMR3FreePagesCleanup(pReq);
     832
     833    /* Flush the PGM pool cache as we might have stale references to pages that we just freed. */
     834    pgmR3PoolClearAllRendezvous(pVM, pVCpu, NULL);
    832835
    833836    pgmUnlock(pVM);
  • trunk/src/VBox/VMM/PGMPool.cpp

    r26261 r26364  
    598598 *
    599599 */
    600 static DECLCALLBACK(VBOXSTRICTRC) pgmR3PoolClearAllRendezvous(PVM pVM, PVMCPU pVCpu, void *pvUser)
     600DECLCALLBACK(VBOXSTRICTRC) pgmR3PoolClearAllRendezvous(PVM pVM, PVMCPU pVCpu, void *pvUser)
    601601{
    602602    PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool);
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