expose mem_cgroup + cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | memcg: export struct mem_cgroupinclude/ include/ include/ +4 more | +349 | 13 replies | |
| 2/5 | memcg: get rid of mem_cgroup_root_css for !CONFIG_MEMCGinclude/ | +0 | 0 replies | |
| 3/5 | memcg: get rid of extern for functions in memcontrol.hinclude/ | +8 | 0 replies | |
| 4/5 | memcg: restructure mem_cgroup_can_attach()mm/ | +32 | 0 replies | |
| 5/5 | memcg, tcp_kmem: check for cg_proto in sock_update_memcgmm/ | +1 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Vladimir Davydov | Michal Hocko |
|---|---|---|
| 1/5 | R-b | |
| 2/5 | R-b | |
| 3/5 | R-b | |
| 4/5 | R-b | A-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] expose mem_cgroup + cleanups
Hi,
this is just the cleanup portion of the series posted previously here:
http://marc.info/?l=linux-kernel&m=143635871831843. I am still thinking about how to move on regarding mm_struct::owner but this is more tricky than originally anticipated. The cleanup still makes some sense IMO.
I have incorporated review feedback from Vladimir (thanks!) and dropped
http://marc.info/?l=linux-mm&m=143635849631722&w=2 because Vladimir didn't like it.
Diffstat:
include/linux/memcontrol.h | 387 ++++++++++++++++++++++++++++++++++++++++----- include/linux/swap.h | 10 +- include/net/sock.h | 28 ---- mm/memcontrol.c | 378 ++++--------------------------------------- mm/memory-failure.c | 2 +- mm/slab_common.c | 2 +- mm/vmscan.c | 2 +- 7 files changed, 390 insertions(+), 419 deletions(-)
Shortlog:
Michal Hocko (4):
memcg: export struct mem_cgroup
memcg: get rid of mem_cgroup_root_css for !CONFIG_MEMCG
memcg: get rid of extern for functions in memcontrol.h memcg, tcp_kmem: check for cg_proto in sock_update_memcg
Tejun Heo (1):
memcg: restructure mem_cgroup_can_attach()