cgroup: convert all non-memcg controllers to the new cftype interface
authorTejun Heo <[email protected]>
Sun, 1 Apr 2012 19:09:55 +0000 (12:09 -0700)
committerTejun Heo <[email protected]>
Sun, 1 Apr 2012 19:09:55 +0000 (12:09 -0700)
commit4baf6e33251b37f111e21289f8ee71fe4cce236e
tree7decc386a60679fd2696041810cf331c0daf1f41
parent676f7c8f84d15e94065841529016da5ab92e901b
cgroup: convert all non-memcg controllers to the new cftype interface

Convert debug, freezer, cpuset, cpu_cgroup, cpuacct, net_prio, blkio,
net_cls and device controllers to use the new cftype based interface.
Termination entry is added to cftype arrays and populate callbacks are
replaced with cgroup_subsys->base_cftypes initializations.

This is functionally identical transformation.  There shouldn't be any
visible behavior change.

memcg is rather special and will be converted separately.

Signed-off-by: Tejun Heo <[email protected]>
Acked-by: Li Zefan <[email protected]>
Cc: Paul Menage <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Vivek Goyal <[email protected]>
block/blk-cgroup.c
kernel/cgroup.c
kernel/cgroup_freezer.c
kernel/cpuset.c
kernel/sched/core.c
net/core/netprio_cgroup.c
net/sched/cls_cgroup.c
security/device_cgroup.c