The patch titled cls_cgroup: remove unneeded cgroup_lock has been removed from the -mm tree. Its filename was cls_cgroup-remove-unneeded-cgroup_lock.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: cls_cgroup: remove unneeded cgroup_lock From: Li Zefan <lizf@xxxxxxxxxxxxxx> We can remove this lock here, since we are in cgroup write handler and thus the cgrp is guaranteed to be valid, and no lock is needed when writing a u32 variable. Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxxx> Acked-by: Paul Menage <menage@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- net/sched/cls_cgroup.c | 6 ------ 1 file changed, 6 deletions(-) diff -puN net/sched/cls_cgroup.c~cls_cgroup-remove-unneeded-cgroup_lock net/sched/cls_cgroup.c --- a/net/sched/cls_cgroup.c~cls_cgroup-remove-unneeded-cgroup_lock +++ a/net/sched/cls_cgroup.c @@ -62,13 +62,7 @@ static u64 read_classid(struct cgroup *c static int write_classid(struct cgroup *cgrp, struct cftype *cft, u64 value) { - if (!cgroup_lock_live_group(cgrp)) - return -ENODEV; - cgrp_cls_state(cgrp)->classid = (u32) value; - - cgroup_unlock(); - return 0; } _ Patches currently in -mm which might be from lizf@xxxxxxxxxxxxxx are linux-next.patch cgroups-make-messages-more-readable.patch devcgroup-skip-superfluous-checks-when-found-the-dev_all-elem.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html