]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
thp: kvm mmu transparent hugepage support
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:46:48 +0000 (15:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:41 +0000 (17:32 -0800)
commit936a5fe6e6148c0b3ea0d792b903847d9b9931a1
treef0326a5877a89251ff2cb727d5e832e911ed1d18
parent47ad8475c000141eacb3ecda5e5ce4b43a9cd04d
thp: kvm mmu transparent hugepage support

This should work for both hugetlbfs and transparent hugepages.

[akpm@linux-foundation.org: bring forward PageTransCompound() addition for bisectability]
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Avi Kivity <avi@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h
include/linux/page-flags.h
virt/kvm/kvm_main.c