VirtualBox

Changeset 90976 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Aug 28, 2021 11:38:05 PM (3 years ago)
Author:
vboxsync
Message:

VMM: Ensure proper log flush order by going to ring-0 to wait for the flusher thread to complete. [fix] bugref:10086

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r90975 r90976  
    31373137     * Do the waiting.
    31383138     */
    3139     uint64_t const nsStart   = RTTimeNanoTS();
    3140     int            rc        = VINF_SUCCESS;
    3141 
     3139    int rc = VINF_SUCCESS;
    31423140    RTSpinlockAcquire(pGVM->vmmr0.s.LogFlusher.hSpinlock);
    3143     uint32_t       cFlushing = pR0Log->cFlushing;
     3141    uint32_t cFlushing = pR0Log->cFlushing;
    31443142    while (cFlushing > 0)
    31453143    {
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