]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/cgroups/cgfsng.c
cgfsng: next generation filesystem-backed cgroup implementation
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 3 Mar 2016 18:31:23 +0000 (10:31 -0800)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Sat, 5 Mar 2016 02:19:30 +0000 (18:19 -0800)
commitccb4cabe02e42e37faf7d3da089393777abe8ab1
tree0ec724b1397eb39236cdba09192ee55ff8913559
parent6861fb2291e63769d19b32ad0ca766146837580c
cgfsng: next generation filesystem-backed cgroup implementation

This makes simplifying assumptions:  all usable cgroups must be
mounted under /sys/fs/cgroup/controller or /sys/fs/cgroup/contr1,contr2.

Currently this will only work with cgroup namespaces, because
lxc.mount.auto = cgroup is not implemented.  So cgfsng_ops_init()
returns NULL if cgroup namespaces are not enabled.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/Makefile.am
src/lxc/cgfs.c
src/lxc/cgfsng.c [new file with mode: 0644]
src/lxc/cgmanager.c
src/lxc/cgroup.c
src/lxc/cgroup.h
src/lxc/criu.c
src/lxc/criu.h
src/lxc/utils.c
src/lxc/utils.h