VirtualBox

Changeset 21567 in vbox


Ignore:
Timestamp:
Jul 14, 2009 10:08:27 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50049
Message:

Checked the wrong flush flag (excessive flushing)

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

Legend:

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

    r21565 r21567  
    27622762VMMR0DECL(int) SVMR0InvalidatePage(PVM pVM, PVMCPU pVCpu, RTGCPTR GCVirt)
    27632763{
    2764     bool fFlushPending = pVM->hwaccm.s.svm.fAlwaysFlushTLB | pVCpu->hwaccm.s.fForceTLBFlush;
     2764    bool fFlushPending = pVM->hwaccm.s.svm.fAlwaysFlushTLB | VMCPU_FF_ISSET(pVCpu, VMCPU_FF_TLB_FLUSH);
    27652765
    27662766    /* Skip it if a TLB flush is already pending. */
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r21259 r21567  
    39153915VMMR0DECL(int) VMXR0InvalidatePage(PVM pVM, PVMCPU pVCpu, RTGCPTR GCVirt)
    39163916{
    3917     bool fFlushPending = pVCpu->hwaccm.s.fForceTLBFlush;
     3917    bool fFlushPending = VMCPU_FF_ISSET(pVCpu, VMCPU_FF_TLB_FLUSH);
    39183918
    39193919    Log2(("VMXR0InvalidatePage %RGv\n", GCVirt));
     
    39453945VMMR0DECL(int) VMXR0InvalidatePhysPage(PVM pVM, PVMCPU pVCpu, RTGCPHYS GCPhys)
    39463946{
    3947     bool fFlushPending = pVCpu->hwaccm.s.fForceTLBFlush;
     3947    bool fFlushPending = VMCPU_FF_ISSET(pVCpu, VMCPU_FF_TLB_FLUSH);
    39483948
    39493949    Assert(pVM->hwaccm.s.fNestedPaging);
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