VirtualBox

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


Ignore:
Timestamp:
Sep 16, 2010 1:22:04 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
65952
Message:

Cleaned up a bit

File:
1 edited

Legend:

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

    r32541 r32560  
    12761276            if (pShwPage->GCPhys == GCPhys)
    12771277            {
    1278 # if 0 /* likely cause of a major performance regression; must be SyncPageWorkerTrackDeref then */
    1279                 const unsigned iPTEDst = (GCPtrPage >> SHW_PT_SHIFT) & SHW_PT_MASK;
    1280                 PSHWPT pPT = (PSHWPT)PGMPOOL_PAGE_2_PTR_V2(pVM, pVCpu, pShwPage);
    1281                 if (pPT->a[iPTEDst].n.u1Present)
    1282                 {
    1283                     /* This is very unlikely with caching/monitoring enabled. */
    1284                     PGM_BTH_NAME(SyncPageWorkerTrackDeref)(pShwPage, pPT->a[iPTEDst].u & SHW_PTE_PG_MASK, iPTEDst);
    1285                     ASMAtomicWriteSize(&pPT->a[iPTEDst], 0);
    1286                 }
    1287 # else /* Syncing it here isn't 100% safe and it's probably not worth spending time syncing it. */
     1278                /* Syncing it here isn't 100% safe and it's probably not worth spending time syncing it. */
    12881279                rc = PGM_BTH_NAME(SyncPage)(pVCpu, PdeSrc, GCPtrPage, 1, 0);
    12891280                if (RT_SUCCESS(rc))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette