On Wed, Mar 14, 2012 at 4:48 AM, Glauber Costa <glommer@xxxxxxxxxxxxx> wrote: > So what? > That function is only called from slab.c anyway. Let slab call it > mem_cgroup_get_kmem_cache(cachep, flags | cachep->allocflags); > and slub > mem_cgroup_get_kmem_cache(cachep, flags | cachep->gfpflags); Ok, I will do that. I felt like it was better to do it in a single place, instead of doing it at all the callers. -- Suleiman -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>