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 <alex.ben...@linaro.org> > Cc: BALATON Zoltan <bala...@eik.bme.hu> > Cc: Christian Ehrhardt <christian.ehrha...@canonical.com>
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~