On Thu, Apr 21, 2022 at 11:33:24AM +0200, Gerd Hoffmann 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,
>
qemu provides acpi and smbios tables via fw_cfg for many years
now. The builtin tables shipped by seabios are only used as
fallback for old qemu versions.
qemu is about to drop backward compatibility for old versions,
machine types for versions 1.4 to 1.7 are deprecated, which
turns the
On Thu, 21 Apr 2022 11:33:24 +0200
Gerd Hoffmann 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
This reverts commit a638acfa4cc772b42093c8bfe55669829a641293.
Not needed any more now that ZoneHigh is expanded on demand.
Signed-off-by: Gerd Hoffmann
---
src/pmm.c | 13 -
1 file changed, 13 deletions(-)
diff --git a/src/pmm.c b/src/pmm.c
index 28b253b2d33c..640341472486 100644
When running out of memory in ZoneHigh go alloc memory from ZoneTmpHigh,
add it as reserved to the e820 map and expand ZoneHigh
Signed-off-by: Gerd Hoffmann
---
src/malloc.c | 16
1 file changed, 16 insertions(+)
diff --git a/src/malloc.c b/src/malloc.c
index
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.