[libvirt] [PATCH v2 5/6] cgroup: Get kernel memory entry from CGroup V1

Pavel Hrdina phrdina at redhat.com
Tue Apr 9 11:56:21 UTC 2019


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190409/4868a448/attachment-0001.sig>


More information about the libvir-list mailing list