[PATCH] cgroup: clean up obsolete code and comment

Tejun Heo tj at kernel.org
Thu Apr 17 14:19:04 UTC 2014


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(!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, remove it.
> 3. s/pr_warning/pr_warn/g, suggested by scripts/checkpatch.pl.

And let's put 2 and 3 in separate patches too.

> Signed-off-by: Jianyu Zhan <nasa4836 at gmail.com>

Also, please regenerate the patches on top of the following branch.

 git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-populated-v2

Thanks.

-- 
tejun


More information about the Containers mailing list