Changeset 1908 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Apr 4, 2007 7:49:50 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r1881 r1908 903 903 if (pShwPage->GCPhys == GCPhys) 904 904 { 905 #if 0 /* likely cause of a major performance regression; must be SyncPageWorkerTrackDeref then */ 905 906 const unsigned iPTEDst = (GCPtrPage >> SHW_PT_SHIFT) & SHW_PT_MASK; 906 907 PSHWPT pPT = (PSHWPT)PGMPOOL_PAGE_2_PTR(pVM, pShwPage); … … 913 914 pPT->a[iPTEDst].u = 0; 914 915 } 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 915 921 STAM_COUNTER_INC(&pVM->pgm.s.CTXMID(Stat,InvalidatePage4KBPages)); 916 922 PGM_INVL_PG(GCPtrPage);
Note:
See TracChangeset
for help on using the changeset viewer.