From: Glauber Costa Date: Mon, 9 Apr 2012 22:36:34 +0000 (-0300) Subject: cgroup: get rid of populate for memcg X-Git-Tag: v3.5-rc1~142^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbe128e348e5994516304f94865ff90c40c1c5ae;p=pandora-kernel.git cgroup: get rid of populate for memcg The last man standing justifying the need for populate() is the sock memcg initialization functions. Now that we are able to pass a struct mem_cgroup instead of a struct cgroup to the socket initialization, there is nothing that stops us from initializing everything in create(). Signed-off-by: Glauber Costa Acked-by: Kamezawa Hiroyuki Signed-off-by: Tejun Heo CC: Li Zefan CC: Johannes Weiner CC: Michal Hocko --- Reading git-diff-tree failed