]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: X86: Don't unsync pagetables when speculative
authorLai Jiangshan <laijs@linux.alibaba.com>
Sat, 18 Sep 2021 00:56:35 +0000 (08:56 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 30 Sep 2021 08:27:10 +0000 (04:27 -0400)
commitf3d7cdb4186c85adf9bf3c3ecec42c9b2d8ef4d1
treef7cd60369fdc058d0310868dda8932fdacdd7401
parentd22779d9a2d31b12e68a03e9f72af1a6283ab3a4
KVM: X86: Don't unsync pagetables when speculative

We'd better only unsync the pagetable when there just was a really
write fault on a level-1 pagetable.

Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210918005636.3675-10-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/mmu_internal.h
arch/x86/kvm/mmu/spte.c