[LTP] min_free_kbytes incorrect results

Viorel-Cătălin Răpițeanu
2014-12-04T13:36:29Z

Hi all,

I've been running 'min_free_kbytes' from 'runtest/mm', but everytime I'm
getting an incorrect value on read. I've tried this test on different
machines (different architectures) and with different versions of ltp,
but I'm getting the same error on read. I've looked at the test, but the
code seems fine. If anybody has any ideea why this isn't working please
let me know.

The following log was generated using an up-to-date Arch Linux x64 using
kernel: 3.17.4-1
-------------------------------------------------------------------------------------------------
min_free_kbytes 0 TINFO : set overcommit_memory to 2
min_free_kbytes 0 TINFO : set min_free_kbytes to 67584
min_free_kbytes 1 TBROK : min_free_kbytes = 6, but expect 67584
min_free_kbytes 2 TBROK : Remaining cases broken
min_free_kbytes 0 TINFO : set min_free_kbytes to 67584
min_free_kbytes 0 TINFO : set overcommit_memory to 0
incrementing stop
--------------------------------------------------------------------------------------------------
Please let me know if I can be of any assistance.

Kind regards,
Catalin