VirtualBox

Changeset 42046 in vbox


Ignore:
Timestamp:
Jul 9, 2012 7:29:55 AM (13 years ago)
Author:
vboxsync
Message:

VMM/HWVMXR0: comments.

File:
1 edited

Legend:

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

    r42045 r42046  
    23952395     * Force a TLB flush for the first world switch if the current CPU differs from the one we ran on last
    23962396     * This can happen both for start & resume due to long jumps back to ring-3.
    2397      * If the TLB flush count changed, another VM (VCPU rather) has hit the ASID limit while flushing the TLB,
    2398      * so we cannot reuse the current ASID anymore.
     2397     * If the TLB flush count changed, another VM (VCPU rather) has hit the ASID limit while flushing the TLB
     2398     * or the host Cpu is online after a suspend/resume, so we cannot reuse the current ASID anymore.
    23992399     */
    24002400    bool fNewASID = false;
     
    25222522     * Force a TLB flush for the first world switch if the current CPU differs from the one we ran on last
    25232523     * This can happen both for start & resume due to long jumps back to ring-3.
    2524      * If the TLB flush count shouldn't really change in this EPT-only case.
     2524     * A change in the TLB flush count implies the host Cpu is online after a suspend/resume.
    25252525     */
    25262526    if (   pVCpu->hwaccm.s.idLastCpu != pCpu->idCpu
     
    25862586     * Force a TLB flush for the first world switch if the current CPU differs from the one we ran on last
    25872587     * This can happen both for start & resume due to long jumps back to ring-3.
    2588      * If the TLB flush count changed, another VM (VCPU rather) has hit the ASID limit while flushing the TLB,
    2589      * so we cannot reuse the current ASID anymore.
     2588     * If the TLB flush count changed, another VM (VCPU rather) has hit the ASID limit while flushing the TLB
     2589     * or the host Cpu is online after a suspend/resume, so we cannot reuse the current ASID anymore.
    25902590     */
    25912591    if (   pVCpu->hwaccm.s.idLastCpu != pCpu->idCpu
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