VirtualBox

Ignore:
Timestamp:
Jun 22, 2009 12:54:03 PM (15 years ago)
Author:
vboxsync
Message:

pgmPoolAccessHandler: Disassemble with the pgm lock taken to avoid unnecessary lock contention

File:
1 edited

Legend:

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

    r20764 r20773  
    11021102    LogFlow(("pgmPoolAccessHandler: pvFault=%RGv pPage=%p:{.idx=%d} GCPhysFault=%RGp\n", pvFault, pPage, pPage->idx, GCPhysFault));
    11031103
     1104    pgmLock(pVM);
     1105
    11041106    /*
    11051107     * Disassemble the faulting instruction.
     
    11071109    PDISCPUSTATE pDis = &pVCpu->pgm.s.DisState;
    11081110    int rc = EMInterpretDisasOne(pVM, pVCpu, pRegFrame, pDis, NULL);
    1109     AssertRCReturn(rc, rc);
    1110 
    1111     pgmLock(pVM);
     1111    AssertReturnStmt(rc == VINF_SUCCESS, pgmUnlock(pVM), rc);
    11121112
    11131113    if (PHYS_PAGE_ADDRESS(GCPhysFault) != PHYS_PAGE_ADDRESS(pPage->GCPhys))
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