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

Krzysztof Kozlowski krzysztof.kozlowski@canonical.com
Wed Oct 20 09:19:56 CEST 2021


On 20/10/2021 09:07, Krzysztof Kozlowski wrote:
> On 20/10/2021 08:59, liuxp11@chinatelecom.cn wrote:
>> Hi, 
>> Why not to directly read minimum memory watermark from /proc/sys/vm/min_free_kbytes?
>>
> 
> Because it has different purpose, different values and won't achieve the
> same result as we want to achieve here (pollute maximum allowed memory)?

Hm, it actually looks it's the aggregate of all low watermark, so I
misinterpreted the documentation. It indeed solves the problem in easier
way, thanks!

Best regards,
Krzysztof


More information about the ltp mailing list