kernel_optimize_test/arch/arm64
Marc Orr d1e5b0e98e kvm: Make VM ioctl do valloc for some archs
The kvm struct has been bloating. For example, it's tens of kilo-bytes
for x86, which turns out to be a large amount of memory to allocate
contiguously via kzalloc. Thus, this patch does the following:
1. Uses architecture-specific routines to allocate the kvm struct via
   vzalloc for x86.
2. Switches arm to __KVM_HAVE_ARCH_VM_ALLOC so that it can use vzalloc
   when has_vhe() is true.

Other architectures continue to default to kalloc, as they have a
dependency on kalloc or have a small-enough struct kvm.

Signed-off-by: Marc Orr <marcorr@google.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-06-01 19:18:26 +02:00
..
boot
configs
crypto
include kvm: Make VM ioctl do valloc for some archs 2018-06-01 19:18:26 +02:00
kernel KVM/ARM updates for 4.18 2018-06-01 19:17:22 +02:00
kvm KVM: arm64: Invoke FPSIMD context switch trap from C 2018-05-25 12:28:31 +01:00
lib
mm
net
xen
Kconfig KVM: arm64: Save host SVE context as appropriate 2018-05-25 12:28:29 +01:00
Kconfig.debug
Kconfig.platforms
Makefile