diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index d9344be36442481c2795b2b37f3d72298cda6191..36c5406b1813d4a5c3a52faff20b64a16e5ee54f 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -376,7 +376,6 @@ static void account_shadowed(struct kvm *kvm, gfn_t gfn) write_count = slot_largepage_idx(gfn, gfn_to_memslot(kvm, gfn)); *write_count += 1; - WARN_ON(*write_count > KVM_PAGES_PER_HPAGE); } static void unaccount_shadowed(struct kvm *kvm, gfn_t gfn)