The patch titled memcg: remove warning when CONFIG_DEBUG_VM=n has been removed from the -mm tree. Its filename was memcg-remove-warning-when-config_debug_vm=n.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: memcg: remove warning when CONFIG_DEBUG_VM=n From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> mm/memcontrol.c:318: warning: `mem_cgroup_is_obsolete' defined but not used [akpm@xxxxxxxxxxxxxxxxxxxx: simplify as suggested by Balbir] Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> Reviewed-by: Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/memcontrol.c~memcg-remove-warning-when-config_debug_vm=n mm/memcontrol.c --- a/mm/memcontrol.c~memcg-remove-warning-when-config_debug_vm=n +++ a/mm/memcontrol.c @@ -932,7 +932,7 @@ static int __mem_cgroup_try_charge(struc if (unlikely(!mem)) return 0; - VM_BUG_ON(mem_cgroup_is_obsolete(mem)); + VM_BUG_ON(!mem || mem_cgroup_is_obsolete(mem)); while (1) { int ret; _ Patches currently in -mm which might be from kamezawa.hiroyu@xxxxxxxxxxxxxx are origin.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