diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-06-08 18:56:20 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-14 19:50:38 +0200 |
commit | d9ab2bcf0591b496f1a4750c7ff790b33f9c7e59 (patch) | |
tree | bf6ba42e885a9cd8e6baa55a8629f6bb28678eae /src/basic/user-util.h | |
parent | 1d7100298c2a696d99f6fbd6ab858762aeb51ac7 (diff) |
util: when determining the amount of memory on this system, take cgroup limit into account
When determining the amount of RAM in the system, let's make sure we also read
the root-level cgroup memory limit into account. This isn't particularly useful
on the host, but in containers it makes sure that whatever memory the container
got assigned is actually used for RAM size calculations.
Diffstat (limited to 'src/basic/user-util.h')
0 files changed, 0 insertions, 0 deletions