[LTP] [PATCH] lib: memutils: respect minimum memory watermark when polluting memory

Krzysztof Kozlowski krzysztof.kozlowski@canonical.com
Wed Oct 20 08:12:17 CEST 2021


On 20/10/2021 07:56, liuxp11@chinatelecom.cn wrote:
> Serveral months ago,i report this issue.I suggest to use available memory.
> You can test with available memory instead of freeram,It will be OK.
> 
> Report-by: Liu Xinpeng <liuxp11@chinatelecom.cn <mailto:liwang@redhat.com>>
> Reviewed-by: Liu Xinpeng <liuxp11@chinatelecom.cn
> <mailto:liwang@redhat.com>>
> 

Don't respond with HTML, please.

It was reported a year ago also here:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1899413

Using MemAvailable seems to be incorrect as it returns too much memory
available. It does not respect min watermark.


Best regards,
Krzysztof


More information about the ltp mailing list