On Sun, Oct 11, 2015 at 06:19:24PM +0100, OmegaPhil wrote:
Since this has apparently gone nowhere, I've had a look into this -That's an interesting read. It probably means used should be total -
'Available' is a new stat added in January 2014 which aims to give the
users a figure of memory available that, once used, will cause kswapd to
start swapping pages out - here is the commit adding it:
https://github.com/torvalds/linux/commit/34e431b0ae398fc54ea69ff85ec700722c9da773
Separate to this, the available calculationI have now changed so that cached only includes reclaimable. This is in
(fs/proc/meminfo.c:meminfo_proc_show) only takes into account
NR_SLAB_RECLAIMABLE and therefore ignores NR_SLAB_UNRECLAIMABLE - this