Changeset 19674 in vbox
- Timestamp:
- May 14, 2009 7:57:59 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r19628 r19674 4213 4213 * Assert(!(pVM->pgm.s.fGlobalSyncFlags & PGM_GLOBAL_SYNC_CLEAR_PGM_POOL)); */ 4214 4214 4215 pgmLock(pVM); 4216 4215 4217 #ifdef PGMPOOL_WITH_CACHE 4216 4218 if (pPool->fCacheEnabled) … … 4219 4221 if (RT_SUCCESS(rc2)) 4220 4222 { 4223 pgmUnlock(pVM); 4221 4224 STAM_PROFILE_ADV_STOP(&pPool->StatAlloc, a); 4222 4225 LogFlow(("pgmPoolAlloc: cached returns %Rrc *ppPage=%p:{.Key=%RHp, .idx=%d}\n", rc2, *ppPage, (*ppPage)->Core.Key, (*ppPage)->idx)); … … 4236 4239 if (RT_FAILURE(rc)) 4237 4240 { 4241 pgmUnlock(pVM); 4238 4242 Log(("pgmPoolAlloc: returns %Rrc (Free)\n", rc)); 4239 4243 STAM_PROFILE_ADV_STOP(&pPool->StatAlloc, a); … … 4281 4285 pPage->iNext = pPool->iFreeHead; 4282 4286 pPool->iFreeHead = pPage->idx; 4287 pgmUnlock(pVM); 4283 4288 STAM_PROFILE_ADV_STOP(&pPool->StatAlloc, a); 4284 4289 Log(("pgmPoolAlloc: returns %Rrc (Insert)\n", rc3)); … … 4304 4309 4305 4310 *ppPage = pPage; 4311 pgmUnlock(pVM); 4306 4312 LogFlow(("pgmPoolAlloc: returns %Rrc *ppPage=%p:{.Key=%RHp, .idx=%d, .fCached=%RTbool, .fMonitored=%RTbool}\n", 4307 4313 rc, pPage, pPage->Core.Key, pPage->idx, pPage->fCached, pPage->fMonitored));
Note:
See TracChangeset
for help on using the changeset viewer.