]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: make rmap code aware of mapping levels
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 27 Jul 2009 14:30:42 +0000 (16:30 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:18 +0000 (08:33 +0300)
commit3b54c701f2bf89bc62e0edd07e3ca2d467ecb0ea
tree3870f0e2b5fcc265b688681329ecb1baa9f7c8b2
parent5a51d5cfcea9922ff7f3f6a2ab555df4edf64f57
KVM: MMU: make rmap code aware of mapping levels

This patch removes the largepage parameter from the rmap_add function.
Together with rmap_remove this function now uses the role.level field to
find determine if the page is a huge page.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c