VirtualBox

Changeset 104859 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jun 5, 2024 8:33:10 PM (11 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163452
Message:

VMM/PGM: Moved the apRamRangesTlbR0 out of the shared PGM structure and into the ring-0 only one; double the RAM range TLB size (from 8 to 16 entries). bugref:10687 bugref:10093

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp

    r104855 r104859  
    28522852
    28532853    pgmPhysInvalidatePageMapTLB(pVM);
    2854     pgmPhysInvalidRamRangeTlbs(pVM);
     2854    /*pgmPhysInvalidRamRangeTlbs(pVM); - not necessary */
    28552855
    28562856    return rc;
     
    34033403                                     rc2, idx, cChunks, pszDesc),
    34043404                                    rc = RT_SUCCESS(rc) ? rc2 : rc);
     3405                pgmPhysInvalidRamRangeTlbs(pVM); /* Ensure no stale pointers in the ring-3 RAM range TLB. */
    34053406            }
    34063407            if (RT_FAILURE(rc2))
     
    39053906
    39063907    pgmPhysInvalidatePageMapTLB(pVM);
    3907     pgmPhysInvalidRamRangeTlbs(pVM);
     3908    /* pgmPhysInvalidRamRangeTlbs(pVM); - not necessary */
    39083909
    39093910    return rcRet;
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