Changeset 91450 in vbox for trunk/src/VBox
- Timestamp:
- Sep 28, 2021 8:22:31 PM (3 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r91247 r91450 961 961 fragmented; don't bother trying again. */ 962 962 LogFlow(("pgmPhysAllocLargePage failed with %Rrc\n", rc)); 963 PGMSetLargePageUsage(pVM, false); 963 if (rc != VERR_TRY_AGAIN) 964 PGMSetLargePageUsage(pVM, false); 964 965 return rc; 965 966 } -
trunk/src/VBox/VMM/VMMR0/GMMR0.cpp
r91321 r91450 3167 3167 * @retval VINF_SUCCESS on success. 3168 3168 * @retval VERR_NOT_OWNER if the caller is not an EMT. 3169 * @retval VERR_GMM_SEED_ME if seeding via GMMR0SeedChunk is necessary.3170 3169 * @retval VERR_GMM_HIT_GLOBAL_LIMIT if we've exhausted the available pages. 3171 3170 * @retval VERR_GMM_HIT_VM_ACCOUNT_LIMIT if we've hit the VM account limit, 3172 3171 * that is we're trying to allocate more than we've reserved. 3172 * @retval VERR_TRY_AGAIN if the host is temporarily out of large pages. 3173 3173 * @returns see GMMR0AllocatePages. 3174 3174 * … … 3228 3228 3229 3229 RTR0MEMOBJ hMemObj; 3230 rc = RTR0MemObjAlloc PhysEx(&hMemObj, GMM_CHUNK_SIZE, NIL_RTHCPHYS, GMM_CHUNK_SIZE);3230 rc = RTR0MemObjAllocLarge(&hMemObj, GMM_CHUNK_SIZE, GMM_CHUNK_SIZE, RTMEMOBJ_ALLOC_LARGE_F_FAST); 3231 3231 if (RT_SUCCESS(rc)) 3232 3232 { -
trunk/src/VBox/VMM/include/PGMInternal.h
r91345 r91450 120 120 * world switch overhead, so let's sync more. 121 121 */ 122 # 122 #ifdef IN_RING0 123 123 /* Chose 32 based on the compile test in @bugref{4219}; 64 shows worse stats. 124 124 * 32 again shows better results than 16; slightly more overhead in the \#PF handler,
Note:
See TracChangeset
for help on using the changeset viewer.