On Mon, Apr 08, 2019 at 04:38:58PM -0300, Julio Faracco wrote:
This commit implements two methods to get kernel memory using CGroup
V1.
One of them get the Hard Limit of kernel memory and the other one get
the current kernel memory usage from that current container. For V2, it
will return error because it is not defined.
What is the usage of kmem with relation to memory ballooning?
In addition I don't like to introduce new feature that is available only
with cgroups V1 as V2 will eventually replace V1 and this feature will
be useless.
Pavel