On 7/23/20 11:44 PM, Alex Bennée wrote:
> It turns out there are some 64 bit systems that have relatively low
> amounts of physical memory available to them (typically CI system).
> Even with swapping available a 1GB translation buffer that fills up
> can put the machine under increased memory pressure. Detect these low
> memory situations and reduce tb_size appropriately.
>
> Fixes: 600e17b2615 ("accel/tcg: increase default code gen buffer size for 64
> bit")
> Signed-off-by: Alex Bennée <[email protected]>
> Cc: BALATON Zoltan <[email protected]>
> Cc: Christian Ehrhardt <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
r~