[Devel] [PATCH v2 0/2] remove sock memcg dependencies on populate

Glauber Costa glommer at parallels.com
Thu Mar 22 11:19:21 PDT 2012


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




More information about the Devel mailing list