[PATCH 4/4] cgroups: subsystem module unloading

Li Zefan lizf at cn.fujitsu.com
Sun Dec 27 22:36:55 PST 2009


> Provides support for unloading modular subsystems.
> 
> From: Ben Blum <bblum at andrew.cmu.edu>
> 
> This patch adds a new function cgroup_unload_subsys which is to be used for
> removing a loaded subsystem during module deletion. Reference counting of the
> subsystems' modules is moved from once (at load time) to once per attached
> hierarchy (in parse_cgroupfs_options and rebind_subsystems) (i.e., 0 or 1).
> 
> It also adds a proper module_delete call in net/sched/cls_cgroup.c.
> 
> Signed-off-by: Ben Blum <bblum at andrew.cmu.edu>

Acked-by: Li Zefan <lizf at cn.fujitsu.com>

Also please fix comment style and add some blank lines properly.




More information about the Containers mailing list