]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Skip pae_root shadow allocation if tdp enabled
authorLiang Chen <liangchen.linux@gmail.com>
Wed, 25 Jul 2018 08:32:14 +0000 (16:32 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Aug 2018 15:59:19 +0000 (17:59 +0200)
commitbedcc1d5517d3b928072ec8f800e09c5ac4ab392
treea43322cfc909ce16454ef5d9cdaa46dd9b51d026
parent01aa127888326c8a5493b574c653cbfa5f4253f9
KVM: x86: Skip pae_root shadow allocation if tdp enabled

Considering the fact that the pae_root shadow is not needed when
tdp is in use, skip the pae_root shadow page allocation to allow
mmu creation even not being able to obtain memory from DMA32
zone when particular cgroup cpuset.mems or mempolicy control is
applied.

Signed-off-by: Liang Chen <liangchen.linux@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c