]> git.proxmox.com Git - mirror_lxcfs.git/commit - bindings.c
meminfo_read: return 0 for Slab
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 7 Mar 2016 23:50:50 +0000 (15:50 -0800)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 7 Mar 2016 23:50:50 +0000 (15:50 -0800)
commitda35d72a8f26be02bbd297d13e588fd694b86898
tree01cde6c673d12e1ef30e3f2ccc70dbf3f58a952b
parent6d2f69962f1dfa38290735e21d73e141a690cd95
meminfo_read: return 0 for Slab

Slab: is supposed to be the "in-kernel data structures cache".  I don't
know of a good way to calculate this from memory cgroup info.  If/when
we find it we can update it.  This value is used by free -m meaning
that if we don't shrink it, we can end up with negative values for
used memory.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
bindings.c