VirtualBox

Changeset 96942 in vbox


Ignore:
Timestamp:
Sep 30, 2022 12:10:08 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153853
Message:

VMM/PGMPool: Use a much much larger GCPhys hash table. A 64 entry table doesn't cut it, especially switching between nested tables, because the regular NP table will be at the end of the hash chain. bugref:10092

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/PGMInternal.h

    r96900 r96942  
    20472047
    20482048/** The hash table size. */
    2049 # define PGMPOOL_HASH_SIZE      0x40
     2049# define PGMPOOL_HASH_SIZE      0x8000
    20502050/** The hash function. */
    20512051# define PGMPOOL_HASH(GCPhys)   ( ((GCPhys) >> GUEST_PAGE_SHIFT) & (PGMPOOL_HASH_SIZE - 1) )
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