Skip to content

page_cgroup cleanups

Glauber Costa cgroups linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2memcg: consistently use vmalloc for page_cgroup allocationsinclude/linux/page_cgroup.h init/main.c mm/page_cgroup.c+10 -304 replies
2/2memcg: defer page_cgroup initializationinclude/linux/page_cgroup.h init/main.c mm/memcontrol.c +1 more+11 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] page_cgroup cleanups

Hi,

Last time I sent the mem cgroup bypass patches, Kame and Michal pointed out that some of it was a bit of cleanup, specifically at the page_cgroup side. I've decided to separate those patches and send them separately. After these patches are applied, page_cgroup will be initialized together with the root cgroup, instead of init/main.c

When we move cgroup initialization to the first non-root cgroup created, all we'll have to do from the page_cgroup side would be to move the initialization that now happens at root, to the first child.

Glauber Costa (2):
memcg: consistently use vmalloc for page_cgroup allocations
memcg: defer page_cgroup initialization

 include/linux/page_cgroup.h | 21 +------------------
 init/main.c                 |  2 --
 mm/memcontrol.c             |  2 ++
 mm/page_cgroup.c            | 51 +++++++++++++++------------------------------
 4 files changed, 20 insertions(+), 56 deletions(-)
Signature · 7 lines
1.8.1.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>