VirtualBox

Changeset 1908 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Apr 4, 2007 7:49:50 AM (18 years ago)
Author:
vboxsync
Message:

Backed out part of 20091 to check if that's the cause of the major performance regression seen on testboxlin.

File:
1 edited

Legend:

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

    r1881 r1908  
    903903            if (pShwPage->GCPhys == GCPhys)
    904904            {
     905#if 0 /* likely cause of a major performance regression; must be SyncPageWorkerTrackDeref then */
    905906                const unsigned iPTEDst = (GCPtrPage >> SHW_PT_SHIFT) & SHW_PT_MASK;
    906907                PSHWPT pPT = (PSHWPT)PGMPOOL_PAGE_2_PTR(pVM, pShwPage);
     
    913914                    pPT->a[iPTEDst].u = 0;
    914915                }
     916#else /* Syncing it here isn't 100% safe and it's probably not worth spending time syncing it. */
     917                rc = PGM_BTH_NAME(SyncPage)(pVM, PdeSrc, GCPtrPage, 1, 0);
     918                if (VBOX_SUCCESS(rc))
     919                    rc = VINF_SUCCESS;
     920#endif       
    915921                STAM_COUNTER_INC(&pVM->pgm.s.CTXMID(Stat,InvalidatePage4KBPages));
    916922                PGM_INVL_PG(GCPtrPage);
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