kernel_optimize_test/include
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
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kvm KVM: arm/arm64: Bump VGIC_V3_MAX_CPUS to 512 2018-05-25 12:29:27 +01:00
linux kvm: Make VM ioctl do valloc for some archs 2018-06-01 19:18:26 +02:00
math-emu
media
memory
misc
net bonding: send learning packets for vlans on slave 2018-05-11 11:50:41 -04:00
pcmcia
ras
rdma
scsi
soc
sound
target
trace Some of the ftrace internal events use a zero for a data size of 2018-05-16 16:45:23 -07:00
uapi KVM: x86: hyperv: declare KVM_CAP_HYPERV_TLBFLUSH capability 2018-05-26 15:35:35 +02:00
video
xen