summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/paging_tmpl.h
diff options
context:
space:
mode:
authorTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>2015-11-20 17:46:29 +0900
committerPaolo Bonzini <pbonzini@redhat.com>2015-11-25 17:27:06 +0100
commit4700579241d2d587765a58dddd1b2a89902767c0 (patch)
tree614e2e96dd8acc2d8f84ee48ad80db91e8f6928b /arch/x86/kvm/paging_tmpl.h
parent77fbbbd2f09fae486190bb2bd7142647dc2a6e8b (diff)
downloadop-kernel-dev-4700579241d2d587765a58dddd1b2a89902767c0.zip
op-kernel-dev-4700579241d2d587765a58dddd1b2a89902767c0.tar.gz
KVM: x86: MMU: Move initialization of parent_ptes out from kvm_mmu_alloc_page()
Make kvm_mmu_alloc_page() do just what its name tells to do, and remove the extra allocation error check and zero-initialization of parent_ptes: shadow page headers allocated by kmem_cache_zalloc() are always in the per-VCPU pools. Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/paging_tmpl.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud