mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
KVM: MMU: Simplify hash table indexing
Signed-off-by: Yaozu (Eddie) Dong <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
This commit is contained in:
parent
489f1d6526
commit
1ae0a13def
2 changed files with 7 additions and 6 deletions
|
|
@ -58,7 +58,8 @@
|
|||
|
||||
#define KVM_PERMILLE_MMU_PAGES 20
|
||||
#define KVM_MIN_ALLOC_MMU_PAGES 64
|
||||
#define KVM_NUM_MMU_PAGES 1024
|
||||
#define KVM_MMU_HASH_SHIFT 10
|
||||
#define KVM_NUM_MMU_PAGES (1 << KVM_MMU_HASH_SHIFT)
|
||||
#define KVM_MIN_FREE_MMU_PAGES 5
|
||||
#define KVM_REFILL_PAGES 25
|
||||
#define KVM_MAX_CPUID_ENTRIES 40
|
||||
|
|
|
|||
Loading…
Reference in a new issue