VirtualBox

Changeset 104146 in vbox for trunk


Ignore:
Timestamp:
Apr 4, 2024 1:13:21 AM (6 months ago)
Author:
vboxsync
Message:

VMM/IEM: Increased IEMEXECMEM_ALT_SUB_ALLOC_UNIT_SIZE from 128 to 256, given that the smallest TB on arm64 seems to be 144 bytes and the average is around 8K booting win11. Reduces the bitmap tranversal and upating effort. bugref:10370

File:
1 edited

Legend:

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

    r104123 r104146  
    9696*********************************************************************************************************************************/
    9797/** The chunk sub-allocation unit size in bytes. */
    98 #define IEMEXECMEM_ALT_SUB_ALLOC_UNIT_SIZE      128
     98#define IEMEXECMEM_ALT_SUB_ALLOC_UNIT_SIZE      256
    9999/** The chunk sub-allocation unit size as a shift factor. */
    100 #define IEMEXECMEM_ALT_SUB_ALLOC_UNIT_SHIFT     7
     100#define IEMEXECMEM_ALT_SUB_ALLOC_UNIT_SHIFT     8
    101101/** Enables adding a header to the sub-allocator allocations.
    102102 * This is useful for freeing up executable memory among other things.  */
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