[libvirt] [PATCH v2 RESEND 0/2] cgroup refactor
Hu Tao
hutao at cn.fujitsu.com
Wed Feb 20 02:30:46 UTC 2013
ping...
On Fri, Feb 08, 2013 at 10:16:25AM +0800, Hu Tao wrote:
> 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
More information about the libvir-list
mailing list