KVM: MMU: fix mmu notifier invalidate handler for huge spte
commit6e3e243c3b6e0bbd18c6ce0fbc12bc3fe2d77b34
authorAndrea Arcangeli <aarcange@redhat.com>
Fri, 16 Jul 2010 09:52:55 +0000 (16 11:52 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:54 +0000 (2 06:40 +0300)
tree05c55ba3c27ba5c778ec36c9c875534a81dffe10
parentc19b8bd60e19308d5583ef200ddcc782d85d9543
KVM: MMU: fix mmu notifier invalidate handler for huge spte

The index wasn't calculated correctly (off by one) for huge spte so KVM guest
was unstable with transparent hugepages.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Reviewed-by: Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c