VirtualBox

Ignore:
Timestamp:
Jun 9, 2018 12:24:35 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
122973
Message:

NEM,CPUM,EM: Don't sync in/out the entire state when leaving the inner NEM loop, only what IEM/TRPM might need. Speeds up MMIO and I/O requiring return to ring-3. bugref:9044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/EMHM.cpp

    r70979 r72488  
    2121*********************************************************************************************************************************/
    2222#define LOG_GROUP LOG_GROUP_EM
     23#define VMCPU_INCL_CPUM_GST_CTX
    2324#include <VBox/vmm/em.h>
    2425#include <VBox/vmm/vmm.h>
     
    129130            || VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_HIGH_PRIORITY_POST_MASK))
    130131        {
    131             rcStrict = emR3HighPriorityPostForcedActions(pVM, pVCpu, VBOXSTRICTRC_TODO(rcStrict));
     132            rcStrict = emR3HighPriorityPostForcedActions(pVM, pVCpu, rcStrict);
    132133            LogFlow(("EMR3HmSingleInstruction: FFs after -> %Rrc\n", VBOXSTRICTRC_VAL(rcStrict)));
    133134        }
     
    468469        if (    VM_FF_IS_PENDING(pVM, VM_FF_HIGH_PRIORITY_POST_MASK)
    469470            ||  VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_HIGH_PRIORITY_POST_MASK))
    470             rc = emR3HighPriorityPostForcedActions(pVM, pVCpu, rc);
     471            rc = VBOXSTRICTRC_TODO(emR3HighPriorityPostForcedActions(pVM, pVCpu, rc));
    471472
    472473        /*
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