[PATCH v2 RESEND 0/2] cgroup refactor

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

 



This series is for early review.

This series refactors cgroup code to:

  - provide lazy creation of cgroup directories, despite of what
    level they are.
  - remove cgroup directories if no one is using the corresponding
    virCgroup.

changes from v2:

  - rebase to latest tree.
  - squash patches 2-5 in v2 into one.

Hu Tao (2):
  refactor virCgroupDetectMounts and virCgroupDetectPlacement
  cgroup: refactor virCgroup

 src/conf/domain_conf.h    |    5 +
 src/libvirt_private.syms  |    7 +-
 src/lxc/lxc_cgroup.c      |   40 +-
 src/lxc/lxc_cgroup.h      |    2 +-
 src/lxc/lxc_controller.c  |   31 +-
 src/lxc/lxc_driver.c      |  177 +++----
 src/lxc/lxc_process.c     |   19 +-
 src/qemu/qemu_cgroup.c    |  162 +++---
 src/qemu/qemu_cgroup.h    |    3 +-
 src/qemu/qemu_driver.c    |  350 +++++--------
 src/qemu/qemu_hotplug.c   |   21 +-
 src/qemu/qemu_migration.c |   20 +-
 src/qemu/qemu_process.c   |    7 +-
 src/util/vircgroup.c      | 1263 +++++++++++++++++++++------------------------
 src/util/vircgroup.h      |   19 +-
 15 files changed, 920 insertions(+), 1206 deletions(-)

-- 
1.8.0.1.240.ge8a1f5a

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