VirtualBox

Changeset 94800 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
May 3, 2022 9:49:43 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151193
Message:

VMM/IEM,PGM: TLB work, esp. on the data one. bugref:9898

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/PGMR0.cpp

    r93925 r94800  
    2424#include <VBox/rawpci.h>
    2525#include <VBox/vmm/pgm.h>
     26#include <VBox/vmm/iem.h>
    2627#include <VBox/vmm/gmm.h>
    2728#include "PGMInternal.h"
     
    631632     * invalidate everything.  Add a version to the TLB? */
    632633    pgmPhysInvalidatePageMapTLB(pGVM);
     634    IEMTlbInvalidateAllPhysicalAllCpus(pGVM, idCpu);
    633635
    634636    STAM_PROFILE_STOP(&pGVM->pgm.s.Stats.StatLargePageSetup, a);
  • trunk/src/VBox/VMM/VMMR0/PGMR0SharedPage.cpp

    r93554 r94800  
    2323#define VBOX_WITHOUT_PAGING_BIT_FIELDS /* 64-bit bitfields are just asking for trouble. See @bugref{9841} and others. */
    2424#include <VBox/vmm/pgm.h>
     25#include <VBox/vmm/iem.h>
    2526#include <VBox/vmm/gmm.h>
    2627#include "PGMInternal.h"
     
    124125                            /* Invalidate page map TLB entry for this page too. */
    125126                            pgmPhysInvalidatePageMapTLBEntry(pVM, PageDesc.GCPhys);
     127                            IEMTlbInvalidateAllPhysicalAllCpus(pVM, NIL_VMCPUID);
    126128                            pVM->pgm.s.cReusedSharedPages++;
    127129                        }
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