[SeaBIOS] Re: [PATCH 0/2] improve ZoneHigh memory management

2022-04-22 Thread Gerd Hoffmann
Hi, > Unused space gets returned to the e820 map before boot, so there is > generally not much harm in increasing it. Ah, missed that detail ... So simply bumping it to 1M or so is fine and does not waste memory? > What's using the ZoneHigh region that is so large that we need to > expand

[SeaBIOS] Re: [PATCH 0/2] improve ZoneHigh memory management

2022-04-21 Thread Kevin O'Connor
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, >

[SeaBIOS] Re: [PATCH 0/2] improve ZoneHigh memory management

2022-04-21 Thread Igor Mammedov
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