Changeset 22698 in vbox
- Timestamp:
- Sep 2, 2009 9:17:59 AM (15 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMPhys.cpp
r22697 r22698 422 422 AssertPtr(pLock); 423 423 424 Assert(VM_IS_EMT(pVM) || !PGMIsLockOwner(pVM)); 425 424 426 int rc = pgmLock(pVM); 425 427 AssertRCReturn(rc, rc); … … 436 438 rc = VERR_PGM_PHYS_PAGE_RESERVED; 437 439 else 438 #if 0439 if (PGM_PAGE_HAS_ACTIVE_HANDLERS(pPage))440 {441 /* We *must* flush any corresponding pgm pool page here, otherwise we'll442 * not be informed about writes and keep bogus gst->shw mappings around.443 */444 PGMPoolFlushPage(pVM, GCPhys);445 Assert(!PGM_PAGE_HAS_ACTIVE_HANDLERS(pPage));446 }447 else448 #endif449 440 { 450 441 /* … … 453 444 * This has to be done on an EMT. 454 445 */ 455 if (RT_UNLIKELY(PGM_PAGE_GET_STATE(pPage) != PGM_PAGE_STATE_ALLOCATED)) 446 if ( PGM_PAGE_HAS_ACTIVE_HANDLERS(pPage) 447 || RT_UNLIKELY(PGM_PAGE_GET_STATE(pPage) != PGM_PAGE_STATE_ALLOCATED)) 456 448 { 457 449 pgmUnlock(pVM); -
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r22696 r22698 4711 4711 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); 4712 4712 4713 VM_ASSERT_EMT(pVM); 4714 4713 4715 /* 4714 4716 * Look up the GCPhys in the hash.
Note:
See TracChangeset
for help on using the changeset viewer.