Changeset 43163 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Sep 4, 2012 2:12:53 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80548
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r42700 r43163 2037 2037 * Call pgmPoolCacheUsed to move the page to the head of the age list. 2038 2038 */ 2039 if (!pgmPoolIsPageLocked(pPage)) 2039 if ( !pgmPoolIsPageLocked(pPage) 2040 && pPage->idx >= PGMPOOL_IDX_FIRST /* paranoia (#6349) */) 2040 2041 break; 2041 2042 LogFlow(("pgmPoolCacheFreeOne: refuse CR3 mapping\n")); … … 4783 4784 4784 4785 /* 4785 * Quietly reject any attempts at flushing any of the special root pages. 4786 */ 4787 if (pPage->idx < PGMPOOL_IDX_FIRST) 4788 { 4789 AssertFailed(); /* can no longer happen */ 4790 Log(("pgmPoolFlushPage: special root page, rejected. enmKind=%s idx=%d\n", pgmPoolPoolKindToStr(pPage->enmKind), pPage->idx)); 4791 return VINF_SUCCESS; 4792 } 4786 * Reject any attempts at flushing any of the special root pages (shall 4787 * not happen). 4788 */ 4789 AssertMsgReturn(pPage->idx >= PGMPOOL_IDX_FIRST, 4790 ("pgmPoolFlushPage: special root page, rejected. enmKind=%s idx=%d\n", 4791 pgmPoolPoolKindToStr(pPage->enmKind), pPage->idx), 4792 VINF_SUCCESS); 4793 4793 4794 4794 pgmLock(pVM); … … 4903 4903 LogFlow(("pgmPoolFreeByPage: pPage=%p:{.Key=%RHp, .idx=%d, enmKind=%s} iUser=%d iUserTable=%#x\n", 4904 4904 pPage, pPage->Core.Key, pPage->idx, pgmPoolPoolKindToStr(pPage->enmKind), iUser, iUserTable)); 4905 Assert(pPage->idx >= PGMPOOL_IDX_FIRST); 4905 AssertReturnVoid(pPage->idx >= PGMPOOL_IDX_FIRST); /* paranoia (#6349) */ 4906 4906 4907 pgmLock(pVM); 4907 4908 pgmPoolTrackFreeUser(pPool, pPage, iUser, iUserTable);
Note:
See TracChangeset
for help on using the changeset viewer.