VirtualBox

Ignore:
Timestamp:
May 22, 2009 12:31:50 PM (16 years ago)
Author:
vboxsync
Message:

More TBL shootdown work

File:
1 edited

Legend:

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

    r19903 r19910  
    10481048            /* Deal with pending TLB shootdown actions which were queued when we were not executing code. */
    10491049            STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatTlbShootdown);
    1050             for (unsigned i=0;i<pVCpu->hwaccm.s.cTlbShootdownPages;i++)
    1051                 SVMR0InvlpgA(pVCpu->hwaccm.s.aTlbShootdownPages[i], pVMCB->ctrl.TLBCtrl.n.u32ASID);
    1052         }
    1053     }
    1054     pVCpu->hwaccm.s.cTlbShootdownPages = 0;
     1050            for (unsigned i=0;i<pVCpu->hwaccm.s.TlbShootdown.cPages;i++)
     1051                SVMR0InvlpgA(pVCpu->hwaccm.s.TlbShootdown.aPages[i], pVMCB->ctrl.TLBCtrl.n.u32ASID);
     1052        }
     1053    }
     1054    pVCpu->hwaccm.s.TlbShootdown.cPages = 0;
    10551055    VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_TLB_SHOOTDOWN);
    10561056
     
    23392339        AssertMsgReturn(pVMCB, ("Invalid pVMCB\n"), VERR_EM_INTERNAL_ERROR);
    23402340
    2341         STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatFlushPageManual);
    23422341#if HC_ARCH_BITS == 32
    23432342        /* If we get a flush in 64 bits guest mode, then force a full TLB flush. Invlpga takes only 32 bits addresses. */
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