VirtualBox

Changeset 62166 in vbox


Ignore:
Timestamp:
Jul 11, 2016 4:36:14 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108673
Message:

IOAPIC: Enable the PDM lock, seems to give better performance (needs more testing but should be safe).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevIOAPIC_New.cpp

    r62163 r62166  
    177177#endif
    178178
     179/* Use PDM critsect for now for I/O APIC locking, see @bugref{8245#c121}. */
     180#define IOAPIC_WITH_PDM_CRITSECT
    179181#ifdef IOAPIC_WITH_PDM_CRITSECT
    180182# define IOAPIC_LOCK(pThis, rcBusy)         (pThis)->CTX_SUFF(pIoApicHlp)->pfnLock((pThis)->CTX_SUFF(pDevIns), (rcBusy))
    181183# define IOAPIC_UNLOCK(pThis)               (pThis)->CTX_SUFF(pIoApicHlp)->pfnUnlock((pThis)->CTX_SUFF(pDevIns))
    182 # error "Unused, remove me for debugging"
    183184#else
    184185# define IOAPIC_LOCK(pThis, rcBusy)         PDMCritSectEnter(&(pThis)->CritSect, (rcBusy))
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