Changeset 82990 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Feb 5, 2020 11:43:13 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 136002
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/GMMR0.cpp
r82989 r82990 4558 4558 && pTlbe->idGeneration == ASMAtomicUoReadU64(&pGMM->idFreeGeneration) 4559 4559 && pChunk->Core.Key == idChunk) 4560 { /* hopeful outcome */ }4560 pGVM->R0Stats.gmm.cChunkTlbHits++; /* hopefully this is a likely outcome */ 4561 4561 else 4562 4562 { 4563 pGVM->R0Stats.gmm.cChunkTlbMisses++; 4564 4565 /* 4566 * Look it up in the chunk tree. 4567 */ 4563 4568 RTSpinlockAcquire(pGMM->hSpinLockTree); 4564 4569 pChunk = gmmR0GetChunkLocked(pGMM, idChunk); -
trunk/src/VBox/VMM/VMMR0/GMMR0Internal.h
r82989 r82990 107 107 /** Spinlock protecting the chunk lookup TLB. */ 108 108 RTSPINLOCK hChunkTlbSpinLock; 109 uint64_t cChunkTlbHits; 110 uint64_t cChunkTlbMisses; 109 111 /** The chunk lookup TLB used by GMMR0PageIdToVirt. */ 110 112 GMMPERVMCHUNKTLBE aChunkTlbEntries[GMMPERVM_CHUNKTLB_ENTRIES];
Note:
See TracChangeset
for help on using the changeset viewer.