Skip to content

RFC reducing page_cgroup size

KAMEZAWA Hiroyuki linux-mm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest6 patches 5 repliesIn review
  2. v1 RFC3 patches 17 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6memcg: add methods to access pc->mem_cgroupinclude/linux/page_cgroup.h mm/memcontrol.c+49 -340 replies
2/6memcg: add pc_set_mem_cgroup_and_flags()include/linux/page_cgroup.h mm/memcontrol.c+22 -143 replies
3/6memcg: add PageCgroupReset()include/linux/page_cgroup.h mm/memcontrol.c+11 -92 replies
4/6memcg: remove mem_cgroup pointer from page_cgroupinclude/linux/page_cgroup.h init/Kconfig+10 -130 replies
5/6memcg: remove unnecessary memory barrier.mm/memcontrol.c+0 -20 replies
6/6memcg: config for integrate page_cgroup into memmapinclude/linux/mm_types.h include/linux/page_cgroup.h init/Kconfig +3 more+54 -40 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchMichal HockoGlauber Costa
1/6A-b A-b
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [RFC][PATCH 0/6 v2] reducing page_cgroup size

Hi, here is v2 (still RFC again because I changed many parts.) I'd like to post v3 without 'RFC' tag after Lsf-MM Summit.

This series is for reducing size of 'struct page_cgroup' to 8 bytes. v2 contains 6 patches and did clean-ups and fixes race in v1 and adds a trial to integrate struct page_cgroup into struct page.

each patches are...

1/6 ....add methods to access pc->mem_cgroup
2/6 ....add pc_set_mem_cgroup_and_flags() to set ->mem_cgroup and flags by one call. 3/6 ....add PageCgroupReset() for handling a race.
4/6 ....reduce size of struct page_cgroup by removing ->mem_cgroup
5/6 ....remove unnecessary memory barrier
6/6 ....add CONFIG_INTEGRATED_PAGE_CGROUP to place page_cgroup in struct page.

Regards,
-Kame

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>