KVM: x86/mmu: Don't redundantly clear TDP MMU pt memory
mainline inclusion from mainline-v5.12-rc1 commit 734e45b3 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I7S3VQ CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=734e45b329d626d2c14e2bcf8be3d069a33c3316 ---------------------------------------------------------------------- The KVM MMU caches already guarantee that shadow page table memory will be zeroed, so there is no reason to re-zero the page in the TDP MMU page fault handler. No functional change intended. Reviewed-by:Peter Feiner <pfeiner@google.com> Reviewed-by:
Sean Christopherson <seanjc@google.com> Acked-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Ben Gardon <bgardon@google.com> Message-Id: <20210202185734.1680553-5-bgardon@google.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Yu Zhang <yu.c.zhang@linux.intel.com>
Loading
Please sign in to comment