Re: [PATCH] cgroup: clean up obsolete code and comment

2014-04-17 Thread Jianyu Zhan
On Thu, Apr 17, 2014 at 10:19 PM, Tejun Heo wrote: > And cgroup_subsys[] doesn't require cgroup_mutex protection anymore. > That comment and BUG_ON(!mutex_is_locked()) can be removed. Can you > please separate these out into a separate patch? > >> 2. cgroup_pidlist_seq_operations has no more user

Re: [PATCH] cgroup: clean up obsolete code and comment

2014-04-17 Thread Tejun Heo
On Thu, Apr 17, 2014 at 10:14:16PM +0800, Jianyu Zhan wrote: > This patch purely makes cleanup. > > 1. parse_cgroupfs_options() no longer takes refcounts on >subsystems to be used, update its comment. And cgroup_subsys[] doesn't require cgroup_mutex protection anymore. That comment and BUG_ON

[PATCH] cgroup: clean up obsolete code and comment

2014-04-17 Thread Jianyu Zhan
This patch purely makes cleanup. 1. parse_cgroupfs_options() no longer takes refcounts on subsystems to be used, update its comment. 2. cgroup_pidlist_seq_operations has no more user, remove it. 3. s/pr_warning/pr_warn/g, suggested by scripts/checkpatch.pl. Signed-off-by: Jianyu Zhan --- ker