On Thu, 21 Apr 2022 11:33:24 +0200 Gerd Hoffmann kraxel@redhat.com wrote:
When running out of memory get a chunk of memory from ZoneTmpHigh to
expand ZoneHigh. Drop simliar logic fro pmm code because it's not
needed ay more.
This fixes some scalability problems, for example with lots of vcpus,
where seabios runs out of memory due to large smbios/acpi tables.
lots of vcpus is a bit vague, it would nice to have a reproducer CLI mentioned here or event better in a commit message.
Gerd Hoffmann (2):
malloc: add on demand ZoneHigh expansion support
Revert "pmm: use tmp zone on oom"
src/malloc.c | 16 ++++++++++++++++
src/pmm.c | 13 -------------
2 files changed, 16 insertions(+), 13 deletions(-)