]> git.ipfire.org Git - thirdparty/kernel/linux.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)
commitee6268ba3a6861b2806e569bff7fe91fbdf846dd
treea43322cfc909ce16454ef5d9cdaa46dd9b51d026
parentc2a4eadf7747a1359a80ede64e4ae0e0ba64ca08
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