]> 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>
Fri, 22 Jan 2016 13:32:00 +0000 (08:32 -0500)
commit81da8bc73b6bc6777632b65a0df45335f7caebe4
tree4cfa9dc6b302f0f748dae375cf7a26752e8ce93f
parentc7be484d1136834614089c9a74a3818594852f24
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
src/lxc/lxc_fuse.c