linux/arch/s390
Vitaly Kuznetsov 4fc096a99e KVM: Raise the maximum number of user memslots
Current KVM_USER_MEM_SLOTS limits are arch specific (512 on Power, 509 on x86,
32 on s390, 16 on MIPS) but they don't really need to be. Memory slots are
allocated dynamically in KVM when added so the only real limitation is
'id_to_index' array which is 'short'. We don't have any other
KVM_MEM_SLOTS_NUM/KVM_USER_MEM_SLOTS-sized statically defined structures.

Low KVM_USER_MEM_SLOTS can be a limiting factor for some configurations.
In particular, when QEMU tries to start a Windows guest with Hyper-V SynIC
enabled and e.g. 256 vCPUs the limit is hit as SynIC requires two pages per
vCPU and the guest is free to pick any GFN for each of them, this fragments
memslots as QEMU wants to have a separate memslot for each of these pages
(which are supposed to act as 'overlay' pages).

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20210127175731.2020089-3-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-02-09 08:17:08 -05:00
..
appldata s390/appldata: use struct_size() helper 2020-06-29 16:32:34 +02:00
boot kasan, x86, s390: update undef CONFIG_KASAN 2020-12-22 12:55:08 -08:00
configs s390: update defconfigs 2020-12-30 17:08:53 +01:00
crypto - Add support for the hugetlb_cma command line option to allocate gigantic 2020-12-14 16:22:26 -08:00
hypfs fs_parse: fold fs_parameter_desc/fs_parameter_spec 2020-02-07 14:48:37 -05:00
include KVM: Raise the maximum number of user memslots 2021-02-09 08:17:08 -05:00
kernel A treewide cleanup of interrupt descriptor (ab)use with all sorts of racy 2020-12-24 13:50:23 -08:00
kvm ARM: 2020-12-20 10:44:05 -08:00
lib s390/delay: remove udelay_simple() 2020-12-16 14:55:49 +01:00
mm ARM: 2020-12-20 10:44:05 -08:00
net s390/bpf: Fix multiple tail calls 2020-09-14 18:21:31 -07:00
oprofile s390/unwind: introduce stack unwind API 2019-05-02 13:54:11 +02:00
pci mm: provide a saner PTE walking API for modules 2021-02-09 07:05:44 -05:00
purgatory - Add support for the hugetlb_cma command line option to allocate gigantic 2020-12-14 16:22:26 -08:00
tools .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kbuild s390/numa: move code to arch/s390/kernel 2020-08-11 18:16:55 +02:00
Kconfig s390/Kconfig: sort config S390 select list once again 2020-12-30 17:08:53 +01:00
Kconfig.debug s390/mm: add debug user asce support 2020-11-23 12:01:12 +01:00
Makefile s390/decompressor: add stacktrace support 2020-11-20 19:19:11 +01:00