Subject: [merged] memcg-remove-redundant-code-in-mem_cgroup_force_empty_write.patch removed from -mm tree To: lizefan@xxxxxxxxxx,hannes@xxxxxxxxxxx,kamezawa.hiroyu@xxxxxxxxxxxxxx,mhocko@xxxxxxx,tj@xxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Fri, 13 Sep 2013 13:01:59 -0700 The patch titled Subject: memcg: remove redundant code in mem_cgroup_force_empty_write() has been removed from the -mm tree. Its filename was memcg-remove-redundant-code-in-mem_cgroup_force_empty_write.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Li Zefan <lizefan@xxxxxxxxxx> Subject: memcg: remove redundant code in mem_cgroup_force_empty_write() vfs guarantees the cgroup won't be destroyed, so it's redundant to get a css reference. Signed-off-by: Li Zefan <lizefan@xxxxxxxxxx> Acked-by: Michal Hocko <mhocko@xxxxxxx> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Tejun Heo <tj@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memcontrol.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff -puN mm/memcontrol.c~memcg-remove-redundant-code-in-mem_cgroup_force_empty_write mm/memcontrol.c --- a/mm/memcontrol.c~memcg-remove-redundant-code-in-mem_cgroup_force_empty_write +++ a/mm/memcontrol.c @@ -4990,18 +4990,12 @@ static int mem_cgroup_force_empty_write( unsigned int event) { struct mem_cgroup *memcg = mem_cgroup_from_css(css); - int ret; if (mem_cgroup_is_root(memcg)) return -EINVAL; - css_get(&memcg->css); - ret = mem_cgroup_force_empty(memcg); - css_put(&memcg->css); - - return ret; + return mem_cgroup_force_empty(memcg); } - static u64 mem_cgroup_hierarchy_read(struct cgroup_subsys_state *css, struct cftype *cft) { _ Patches currently in -mm which might be from lizefan@xxxxxxxxxx are origin.patch linux-next.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