VirtualBox

Changeset 54552 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Feb 27, 2015 1:47:08 PM (10 years ago)
Author:
vboxsync
Message:

VMMR0: Clear pVCpu->idHostCpu on way out while measuring deltas as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r54467 r54552  
    10901090                    rc = VINF_EM_RAW_INTERRUPT;
    10911091
    1092                 pVCpu->vmm.s.iLastGZRc = rc;
    1093 
    10941092                /*
    10951093                 * Invalidate the host CPU identifiers as we restore preemption.
     
    11001098                if (!fPreemptRestored)
    11011099                    RTThreadPreemptRestore(&PreemptState);
     1100
     1101                pVCpu->vmm.s.iLastGZRc = rc;
    11021102
    11031103                /* Fire dtrace probe and collect statistics. */
     
    11121112            else
    11131113            {
     1114                pVCpu->iHostCpuSet = UINT32_MAX;
     1115                ASMAtomicWriteU32(&pVCpu->idHostCpu, NIL_RTCPUID);
    11141116                RTThreadPreemptRestore(&PreemptState);
    11151117                if (iHostCpuSet < RTCPUSET_MAX_CPUS)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette