OSDN Git Service

KVM: x86: remove now unneeded hugepage gfn adjustment
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 23 Jun 2019 17:15:49 +0000 (19:15 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Jul 2019 11:48:47 +0000 (13:48 +0200)
commitd679b32611c0102ce33b9e1a4e4b94854ed1812a
treeac6360ff8339ef8b5633975a89ab9900abeb1eb0
parent3fcf2d1bdeb6a513523cb2c77012a6b047aa859c
KVM: x86: remove now unneeded hugepage gfn adjustment

After the previous patch, the low bits of the gfn are masked in
both FNAME(fetch) and __direct_map, so we do not need to clear them
in transparent_hugepage_adjust.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h