[LTP] [PATCH] swapping: replace mem_free by mem_available

Li Wang liwang@redhat.com
Tue Jul 12 11:22:37 CEST 2016


Sorry, there is one more thing I forgot to take care, the
"MemAvailable:" I invovled is not exist in all kernels
(e.g. kernel < 3.14). So this patch is not applicable to
all distributions, such as Fedora 19. :(

$ cat /etc/redhat-release
Fedora release 19 (Schrödinger’s Cat)

$ cat /proc/meminfo
MemTotal:        7654500 kB
MemFree:          507388 kB
Buffers:           87280 kB
Cached:          1145736 kB
...

I will compose a new patch to solve the limitation.


Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20160712/9dbe0af0/attachment.html>


More information about the ltp mailing list