VirtualBox

Changeset 15578 in vbox for trunk


Ignore:
Timestamp:
Dec 16, 2008 12:51:59 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
41087
Message:

Clear the read cache when the paging mode changes.

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

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

    r15525 r15578  
    10811081        }
    10821082    }
     1083
     1084    /* Reset the contents of the read cache. */
     1085    PVMCSCACHE pCache = &pVCpu->hwaccm.s.vmx.VMCSCache;
     1086    for (unsigned j=0;j<pCache->Read.cValidEntries;j++)
     1087        pCache->Read.aFieldVal[j] = 0;
    10831088}
    10841089
  • trunk/src/VBox/VMM/HWACCMInternal.h

    r15576 r15578  
    382382
    383383/* Maximum number of cached entries. */
    384 #define VMCSCACHE_MAX_ENTRY                             256
     384#define VMCSCACHE_MAX_ENTRY                             128
    385385
    386386/* Structure for storing read and write VMCS actions. */
  • trunk/src/VBox/VMM/HWACCMInternal.mac

    r15576 r15578  
    2222
    2323;Maximum number of cached entries.
    24 %define VMCSCACHE_MAX_ENTRY                             256
     24%define VMCSCACHE_MAX_ENTRY                             128
    2525
    2626; Structure for storing read and write VMCS actions.
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