[LTP] [PATCH] Fix tst_pollute_memory() safety margin for huge systems

Cyril Hrubis chrubis@suse.cz
Wed Jan 27 13:28:35 CET 2021


Hi!
> According my test,malloc amount greater than available memory,then invoke the oom-killer.

However that does not mean that allocating MemAvailable or slightly less
than MemAvailable is safe. In fact it's not, at least that I've been
told be kernel developers. I will try to figure out something safe
enough with their help.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list