VirtualBox

Changeset 26066 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Jan 27, 2010 12:59:32 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56991
Message:

Guest SMP: force all VCPUs to go back to ring 3 when a pgm pool flush is pending. Not doing so might cause trouble on a loaded host.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r25825 r26066  
    25642564        LogFlow(("SyncCR3: PGM_SYNC_CLEAR_PGM_POOL is set -> VINF_PGM_SYNC_CR3\n"));
    25652565        VMCPU_FF_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3); /** @todo no need to do global sync, right? */
     2566
     2567        /* Make sure all other VCPUs return to ring 3. */
     2568        if (pVM->cCpus > 1)
     2569        {
     2570            VM_FF_SET(pVM, VM_FF_PGM_POOL_FLUSH_PENDING);
     2571            PGM_INVL_ALL_VCPU_TLBS(pVM);
     2572        }
    25662573        return VINF_PGM_SYNC_CR3;
    25672574    }
Note: See TracChangeset for help on using the changeset viewer.

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