VirtualBox

Changeset 32770 in vbox for trunk


Ignore:
Timestamp:
Sep 27, 2010 11:37:26 AM (14 years ago)
Author:
vboxsync
Message:

Redundant lock/unlock

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMInline.h

    r32036 r32770  
    14321432DECLINLINE(void) pgmPoolCacheUsed(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    14331433{
    1434     PVM pVM = pPool->CTX_SUFF(pVM);
    1435     pgmLock(pVM);
     1434    Assert(PGMIsLockOwner(pPool->CTX_SUFF(pVM)));
    14361435
    14371436    /*
     
    14541453        pPool->aPages[pPage->iAgeNext].iAgePrev = pPage->idx;
    14551454    }
    1456     pgmUnlock(pVM);
    14571455}
    14581456
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