Re: [PATCH 2/9] vircgroup: add assertion to allow cgroup controllers to stay empty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 23, 2016 at 04:58:37PM +0100, Henning Schild wrote:
> When using a hierarchy of cgroups we might want to add tasks just to
> the children cgroups but never to the parent. To make sure we do not
> use a parent cgroup by accident add a mechanism that lets us assert
> a correct implementation in cases we want such a hierarchy.
> 
> i.e. for qemu cpusets we want all tasks in /vcpuX or /emulator, not
> in /.
> 
> Signed-off-by: Henning Schild <henning.schild@xxxxxxxxxxx>
> ---
>  src/libvirt_private.syms |  2 ++
>  src/util/vircgroup.c     | 19 +++++++++++++++++++
>  src/util/vircgroup.h     |  3 +++
>  src/util/vircgrouppriv.h |  1 +
>  4 files changed, 25 insertions(+)

This is a nice idea, but sadly it won't work - see comments on
later patches. So there's no point adding this.


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]