Changeset 37389 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jun 8, 2011 4:13:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/HWACCMAll.cpp
r37387 r37389 134 134 STAM_PROFILE_ADV_START(&pVCpu->hwaccm.s.StatSpinPokeFailed, z); 135 135 136 /** @todo If more than one CPU is going to be poked, we could optimize this 137 * operation by poking them first and wait afterwards. Would require 138 * recording who to poke and their current cWorldSwitchExits values, 139 * that's something not suitable for stack... So, pVCpu->hm.s.something 140 * then. */ 136 141 /* Spin until the VCPU has switched back (poking is async). */ 137 142 while ( ASMAtomicUoReadBool(&pVCpu->hwaccm.s.fCheckedTLBFlush) … … 167 172 RTCPUID idHostCpu = pVCpu->hwaccm.s.idEnteredCpu; 168 173 if (idHostCpu != NIL_RTCPUID) 169 {170 174 hmR0PokeCpu(pVCpu, idHostCpu); 171 }172 175 #else 173 176 VMR3NotifyCpuFFU(pVCpu->pUVCpu, VMNOTIFYFF_FLAGS_POKE);
Note:
See TracChangeset
for help on using the changeset viewer.