linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] KVM: x86: enable TDP MMU by default
@ 2021-07-26 16:31 Paolo Bonzini
  2021-07-26 16:53 ` Ben Gardon
  2022-07-26 14:57 ` Stoiko Ivanov
  0 siblings, 2 replies; 6+ messages in thread
From: Paolo Bonzini @ 2021-07-26 16:31 UTC (permalink / raw)
  To: linux-kernel, kvm; +Cc: bgardon

With the addition of fast page fault support, the TDP-specific MMU has reached
feature parity with the original MMU.  All my testing in the last few months
has been done with the TDP MMU; switch the default on 64-bit machines.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 arch/x86/kvm/mmu/tdp_mmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/mmu/tdp_mmu.c b/arch/x86/kvm/mmu/tdp_mmu.c
index f86158d41af0..43f12f5d12c0 100644
--- a/arch/x86/kvm/mmu/tdp_mmu.c
+++ b/arch/x86/kvm/mmu/tdp_mmu.c
@@ -10,7 +10,7 @@
 #include <asm/cmpxchg.h>
 #include <trace/events/kvm.h>
 
-static bool __read_mostly tdp_mmu_enabled = false;
+static bool __read_mostly tdp_mmu_enabled = true;
 module_param_named(tdp_mmu, tdp_mmu_enabled, bool, 0644);
 
 /* Initializes the TDP MMU for the VM, if enabled. */
-- 
2.27.0


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

end of thread, other threads:[~2022-07-27 13:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-26 16:31 [PATCH] KVM: x86: enable TDP MMU by default Paolo Bonzini
2021-07-26 16:53 ` Ben Gardon
2022-07-26 14:57 ` Stoiko Ivanov
2022-07-26 15:43   ` Paolo Bonzini
2022-07-27 10:22     ` Maxim Levitsky
2022-07-27 13:31       ` Stoiko Ivanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).