VirtualBox

Changeset 30766 in vbox


Ignore:
Timestamp:
Jul 9, 2010 2:36:47 PM (14 years ago)
Author:
vboxsync
Message:

No need to flush the handy pages immediately after copy-on-write for a shared page

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

Legend:

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

    r30735 r30766  
    441441        pVM->pgm.s.aHandyPages[iHandyPage].idSharedPage = PGM_PAGE_GET_PAGEID(pPage);
    442442        Assert(PGM_PAGE_GET_PAGEID(pPage) != NIL_GMM_PAGEID);
    443         VM_FF_SET(pVM, VM_FF_PGM_NEED_HANDY_PAGES);
    444443
    445444        Log(("PGM: Replaced shared page %#x at %RGp with %#x / %RHp\n", PGM_PAGE_GET_PAGEID(pPage),
     
    457456        STAM_COUNTER_INC(&pVM->pgm.s.StatRZPageReplaceZero);
    458457        pVM->pgm.s.cZeroPages--;
    459         Assert(pVM->pgm.s.aHandyPages[iHandyPage].idSharedPage == NIL_GMM_PAGEID);
    460458    }
    461459
  • trunk/src/VBox/VMM/VMMR0/GMMR0.cpp

    r30757 r30766  
    20652065    if (GMM_CHECK_SANITY_UPON_ENTERING(pGMM))
    20662066    {
    2067 
    20682067        /* No allocations before the initial reservation has been made! */
    20692068        if (RT_LIKELY(    pGVM->gmm.s.Reserved.cBasePages
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