VirtualBox

Changeset 105076 in vbox


Ignore:
Timestamp:
Jun 28, 2024 6:35:41 PM (5 months ago)
Author:
vboxsync
Message:

VMM/IEM: Increased the TLB size from 256 to 1024 entries. bugref:10687

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/vm.h

    r105072 r105076  
    159159        struct IEMCPU       s;
    160160#endif
    161         uint8_t             padding[146368]; /* multiple of 64 */
     161        uint8_t             padding[244672]; /* multiple of 64 */
    162162    } iem;
    163163
  • trunk/include/VBox/vmm/vm.mac

    r105072 r105076  
    5858
    5959    alignb 64
    60     .iem                    resb 146368
     60    .iem                    resb 244672
    6161
    6262    alignb 64
  • trunk/src/VBox/VMM/include/IEMInternal.h

    r105072 r105076  
    529529 * from a 8-bit register without an additional AND instruction.
    530530 * See also @bugref{10687}. */
    531 #define IEMTLB_ENTRY_COUNT                      256
    532 #define IEMTLB_ENTRY_COUNT_AS_POWER_OF_TWO      8
     531#define IEMTLB_ENTRY_COUNT                      1024
     532#define IEMTLB_ENTRY_COUNT_AS_POWER_OF_TWO      10
    533533AssertCompile(RT_BIT_32(IEMTLB_ENTRY_COUNT_AS_POWER_OF_TWO) == IEMTLB_ENTRY_COUNT);
    534534
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