VirtualBox

Changeset 25578 in vbox


Ignore:
Timestamp:
Dec 23, 2009 4:59:37 PM (15 years ago)
Author:
vboxsync
Message:

PGMHandlerPhysicalDeregister: don't flush the TLB as we haven't changed any PTEs yet
Trap0eHandler: only flush the TLB entry on the current cpu in case of a stale TLB entry with R/W=0; overkill to do this for all VCPUs, as we can just take faults of stale TLBs

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r25537 r25578  
    839839                        HWACCMInvalidatePhysPage(pVM, (RTGCPHYS)pvFault);
    840840#   else
    841                         PGM_INVL_PG_ALL_VCPU(pVM, pvFault);
     841                        PGM_INVL_PG(pVM, pvFault);
    842842#   endif
    843843#   ifdef VBOX_STRICT
  • trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp

    r25577 r25578  
    272272        MMHyperFree(pVM, pCur);
    273273        pgmUnlock(pVM);
    274         /** @todo not really necessary; we'll correct this for dirty tlb entries in the page fault handler. */
    275         PGM_INVL_ALL_VCPU_TLBS(pVM);
    276274        return VINF_SUCCESS;
    277275    }
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