Re: [PATCH 1/2] vircgroup: introduce virCgroupKillRecursiveCB

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

 



On 12/12/18 11:17 AM, Pavel Hrdina wrote:
> The rewrite to support cgroup v2 missed this function.  In cgroup v2
> we have different files to track tasks.
> 
> We would fail to remove cgroup on non-systemd OSes if there is any
> extra process assigned to guest cgroup because we would not kill any
> process form the guest cgroup.
> 
> Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
> ---
>  src/util/vircgroup.c        | 69 ++++++++++++++++++++-----------------
>  src/util/vircgroupbackend.h |  7 ++++
>  src/util/vircgrouppriv.h    |  8 +++++
>  src/util/vircgroupv1.c      | 16 +++++++++
>  src/util/vircgroupv2.c      | 16 +++++++++
>  5 files changed, 84 insertions(+), 32 deletions(-)

ACK

Michal

--
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]

  Powered by Linux