VirtualBox

Changeset 25298 in vbox


Ignore:
Timestamp:
Dec 10, 2009 1:33:12 PM (15 years ago)
Author:
vboxsync
Message:

Put back incorrectly removed tlb flushes (3.1 regression; #4485)

File:
1 edited

Legend:

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

    r25246 r25298  
    19541954     * Found a usable page, flush it and return.
    19551955     */
    1956     return pgmPoolFlushPage(pPool, pPage);
     1956    int rc = pgmPoolFlushPage(pPool, pPage);
     1957    /* This flush was initiated by us and not the guest, so explicitly flush the TLB. */
     1958    if (rc == VINF_SUCCESS)
     1959        PGM_INVL_ALL_VCPU_TLBS(pVM);
     1960    return rc;
    19571961}
    19581962
     
    21282132                        STAM_COUNTER_INC(&pPool->StatCacheKindMismatches);
    21292133                        pgmPoolFlushPage(pPool, pPage);
     2134                        PGM_INVL_VCPU_TLBS(VMMGetCpu(pVM));
    21302135                        break;
    21312136                    }
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