]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: fuse: Fill in MemAvailable for /proc/meminfo
authorCole Robinson <crobinso@redhat.com>
Thu, 21 Jan 2016 18:18:04 +0000 (13:18 -0500)
committerCole Robinson <crobinso@redhat.com>
Fri, 22 Jan 2016 13:32:00 +0000 (08:32 -0500)
commitc7be484d1136834614089c9a74a3818594852f24
tree00a7a7f6cd466a88f7ce1c867500f8f7f538ce15
parent8418245a7e00f873594f1000c9606d08265088e0
lxc: fuse: Fill in MemAvailable for /proc/meminfo

'free' on Fedora 23 will use MemAvailable to calculate its 'available'
field, but we are passing through the host's value. Set it to match
MemFree, which is what 'free' will do for older linux that don't have
MemAvailable

https://bugzilla.redhat.com/show_bug.cgi?id=1300781
src/lxc/lxc_fuse.c