]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: MMU: fix mmu notifier invalidate handler for huge spte
authorAndrea Arcangeli <aarcange@redhat.com>
Fri, 17 Sep 2010 16:13:17 +0000 (13:13 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Sep 2010 00:18:34 +0000 (17:18 -0700)
commit291e06417553bbca9d6cf59d5ac1040a9d71da99
treee5325a1250e7cce7acfa46e03096db7c86dd1dd5
parent41d2a3bcdb188e4d6d8cc799f93aed93c0639e36
KVM: MMU: fix mmu notifier invalidate handler for huge spte

commit 6e3e243c3b6e0bbd18c6ce0fbc12bc3fe2d77b34 upstream.

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>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/mmu.c