wmmemload: Read memory correctly with Linux kernel version >= 3.14.
commit52b638616c16ea0c36522e432cfbc85eef0cf15b
authorDoug Torrance <dtorrance@monmouthcollege.edu>
Fri, 10 Oct 2014 04:50:19 +0000 (9 23:50 -0500)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 10 Oct 2014 09:09:53 +0000 (10 10:09 +0100)
treebc2714bc03e0c9df85f16b7ab540247531d55b05
parentea2cf286ef88a60961d4383cfb7a0966bacc88b9
wmmemload: Read memory correctly with Linux kernel version >= 3.14.

Beginning with Linux kernel version 3.14, a new MemAvailable line appears
in /proc/meminfo[1]. This caused wmmemload to look for Cached and Buffers one
line off of their correct location.  The problem was reported in [2].

[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749216
wmmemload/src/mem_linux.c