[libvirt] [PATCH 1/5] util: vircgroup: pass parent cgroup into virCgroupDetectControllersCB

Ján Tomko jtomko at redhat.com
Fri Jun 21 09:55:35 UTC 2019


On Thu, Jun 20, 2019 at 01:25:41PM +0200, Pavel Hrdina wrote:
>In cgroups v2 we don't have to detect available controllers every single
>time if we are creating a new cgroup based on parent cgroup.
>
>Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
>---
> src/util/vircgroup.c        |  2 +-
> src/util/vircgroupbackend.h |  3 ++-
> src/util/vircgroupv1.c      |  3 ++-
> src/util/vircgroupv2.c      | 17 +++++++++++------
> 4 files changed, 16 insertions(+), 9 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190621/79eb6e80/attachment-0001.sig>


More information about the libvir-list mailing list