Changeset 7945 in vbox
- Timestamp:
- Apr 14, 2008 7:53:00 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 29579
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMPool.cpp
r7715 r7945 410 410 uint32_t cPages = pPool->cMaxPages - pPool->cCurPages; 411 411 cPages = RT_MIN(PGMPOOL_CFG_MAX_GROW, cPages); 412 LogFlow(("PGMR3PoolGrow: Growing the by %d (%#x) pages.\n", cPages, cPages));412 LogFlow(("PGMR3PoolGrow: Growing the pool by %d (%#x) pages.\n", cPages, cPages)); 413 413 414 414 for (unsigned i = pPool->cCurPages; cPages-- > 0; i++) -
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r7929 r7945 783 783 DECLINLINE(void) pgmPoolHashInsert(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 784 784 { 785 Log3(("pgmPoolHashInsert %VGp\n", pPage->GCPhys)); 785 786 Assert(pPage->GCPhys != NIL_RTGCPHYS); Assert(pPage->iNext == NIL_PGMPOOL_IDX); 786 787 uint16_t iHash = PGMPOOL_HASH(pPage->GCPhys); … … 798 799 DECLINLINE(void) pgmPoolHashRemove(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 799 800 { 801 Log3(("pgmPoolHashRemove %VGp\n", pPage->GCPhys)); 800 802 uint16_t iHash = PGMPOOL_HASH(pPage->GCPhys); 801 803 if (pPool->aiHash[iHash] == pPage->idx) … … 963 965 */ 964 966 unsigned i = pPool->aiHash[PGMPOOL_HASH(GCPhys)]; 967 Log3(("pgmPoolCacheAlloc %VGp kind %d iUser=%d iUserTable=%x SLOT=%d\n", GCPhys, enmKind, iUser, iUserTable, i)); 965 968 if (i != NIL_PGMPOOL_IDX) 966 969 { … … 968 971 { 969 972 PPGMPOOLPAGE pPage = &pPool->aPages[i]; 973 Log3(("pgmPoolCacheAlloc slot %d found page %VGp\n", i, pPage->GCPhys)); 970 974 if (pPage->GCPhys == GCPhys) 971 975 { … … 1057 1061 static void pgmPoolCacheFlushPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 1058 1062 { 1063 Log3(("pgmPoolCacheFlushPage %VGp\n", pPage->GCPhys)); 1064 1059 1065 /* 1060 1066 * Remove the page from the hash. … … 1162 1168 static int pgmPoolMonitorInsert(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 1163 1169 { 1170 LogFlow(("pgmPoolMonitorInsert %VGp\n", pPage->GCPhys & ~(RTGCPHYS)(PAGE_SIZE - 1))); 1171 1164 1172 /* 1165 1173 * Filter out the relevant kinds. … … 3361 3369 STAM_PROFILE_ADV_START(&pPool->StatAlloc, a); 3362 3370 LogFlow(("pgmPoolAlloc: GCPhys=%VGp enmKind=%d iUser=%#x iUserTable=%#x\n", GCPhys, enmKind, iUser, iUserTable)); 3363 3364 3371 *ppPage = NULL; 3365 3372
Note:
See TracChangeset
for help on using the changeset viewer.