Tejun, This should do the job. After these two patches, populate() for memcg is gone. Let me know if you want any more changes. Glauber Costa (2): cgroup: pass struct mem_cgroup instead of struct cgroup to socket memcg cgroup: get rid of populate for memcg include/net/sock.h | 12 ++++++------ include/net/tcp_memcontrol.h | 4 ++-- mm/memcontrol.c | 32 ++++++++++---------------------- net/core/sock.c | 10 +++++----- net/ipv4/tcp_memcontrol.c | 5 ++--- 5 files changed, 25 insertions(+), 38 deletions(-) -- 1.7.7.6 -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html