VirtualBox

Changeset 30816 in vbox


Ignore:
Timestamp:
Jul 14, 2010 11:30:02 AM (14 years ago)
Author:
vboxsync
Message:

Flush the pgm pool before unmapping a chunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r30815 r30816  
    33583358    if (pVM->pgm.s.ChunkR3Map.c >= pVM->pgm.s.ChunkR3Map.cMax)
    33593359    {
     3360        /* Flush the pgm pool cache; call the internal rendezvous handler as we're already in a rendezvous handler here. */
     3361        /* todo: also not really efficient to unmap a chunk that contains PD or PT pages. */
     3362        pgmR3PoolClearAllRendezvous(pVM, &pVM->aCpus[0], false /* no need to flush the REM TLB as we already did that above */);
     3363
    33603364        /*
    33613365         * Request the ring-0 part to unmap a chunk to make space in the mapping cache.
     
    34133417            /* Flush REM translation blocks. */
    34143418            REMFlushTBs(pVM);
    3415 
    3416             /* Flush the pgm pool cache; call the internal rendezvous handler as we're already in a rendezvous handler here. */
    3417             /* todo: also not really efficient to unmap a chunk that contains PD or PT pages. */
    3418             pgmR3PoolClearAllRendezvous(pVM, &pVM->aCpus[0], false /* no need to flush the REM TLB as we already did that above */);
    34193419        }
    34203420    }
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