Re: [PATCH v2 5/9] vircgroup: introduce virCgroupAddThread

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

 



On Thu, Sep 20, 2018 at 10:54:34AM +0200, Pavel Hrdina wrote:
Once we introduce cgroup v2 support we need to handle processes and
threads differently.

Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---

Notes:
   changes in v2:
       - added comment for new flag

src/libvirt_private.syms |  1 +
src/qemu/qemu_process.c  |  2 +-
src/util/vircgroup.c     | 32 ++++++++++++++++++++++++++++++++
src/util/vircgroup.h     |  1 +
4 files changed, 35 insertions(+), 1 deletion(-)


AFAICT the nbdpids added in virLXCControllerSetupCgroupLimits also refer
to threads and should use virCgroupAddThread.

But this patch does not make the LXC driver any worse.


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: Digital signature

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