public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: MMU: update comment on the number of page role combinations
@ 2021-11-16 10:11 Paolo Bonzini
  2021-11-16 11:07 ` Maxim Levitsky
  0 siblings, 1 reply; 5+ messages in thread
From: Paolo Bonzini @ 2021-11-16 10:11 UTC (permalink / raw)
  To: linux-kernel, kvm

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 arch/x86/include/asm/kvm_host.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index e977634333d4..354fd2a918d5 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -291,9 +291,9 @@ struct kvm_kernel_irq_routing_entry;
  * the number of unique SPs that can theoretically be created is 2^n, where n
  * is the number of bits that are used to compute the role.
  *
- * But, even though there are 18 bits in the mask below, not all combinations
+ * But, even though there are 20 bits in the mask below, not all combinations
  * of modes and flags are possible.  The maximum number of possible upper-level
- * shadow pages for a single gfn is in the neighborhood of 2^13.
+ * shadow pages for a single gfn is in the neighborhood of 2^15.
  *
  *   - invalid shadow pages are not accounted.
  *   - level is effectively limited to four combinations, not 16 as the number
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-18  7:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-16 10:11 [PATCH] KVM: MMU: update comment on the number of page role combinations Paolo Bonzini
2021-11-16 11:07 ` Maxim Levitsky
2021-11-16 12:28   ` Paolo Bonzini
2021-11-17 22:25     ` Sean Christopherson
2021-11-18  7:08       ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox