]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: fuse: Stub out Slab bits in /proc/meminfo
authorCole Robinson <crobinso@redhat.com>
Thu, 21 Jan 2016 18:33:50 +0000 (13:33 -0500)
committerCole Robinson <crobinso@redhat.com>
Thu, 17 Mar 2016 19:58:54 +0000 (15:58 -0400)
commit34a7476f00c8177c1694a43240b0aebe68ac5b6d
tree32643caec48be78700eea59cebccbb0415a24959
parentcd199c9bf7b34130b5fe75349fa7c953c0536a51
lxc: fuse: Stub out Slab bits in /proc/meminfo

'free' on fedora23 wants to use the Slab field for calculated used
memory. The equation is:

used = MemTotal - MemFree - (Cached + Slab) - Buffers

We already set Cached and Buffers to 0, do the same for Slab and its
related values

https://bugzilla.redhat.com/show_bug.cgi?id=1300781
(cherry picked from commit 81da8bc73b6bc6777632b65a0df45335f7caebe4)
src/lxc/lxc_fuse.c