bypass root memcg charges if no memcgs are possible
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest5 patches 36 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | memcg: make nocpu_base available for non hotplugmm/ | +4 | 2 replies | |
| 2/5 | memcg: provide root figures from system totalsmm/ | +64 | 22 replies | |
| 3/5 | memcg: make it suck fasterinclude/ mm/ mm/ | +216 | 8 replies | |
| 4/5 | memcg: do not call page_cgroup_init at system_bootinclude/ init/ mm/ +1 more | +99 | 3 replies | |
| 5/5 | memcg: do not walk all the way to the root for memcgmm/ | +1 | 1 reply |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by.
| Patch | KAMEZAWA Hiroyuki | Michal Hocko |
|---|---|---|
| 1/5 | A-b | A-b |
| 2/5 | ||
| 3/5 | ||
| 4/5 | ||
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] bypass root memcg charges if no memcgs are possible
Hi,
Here is my recent changes in my patchset to bypass charges from the root cgroup if no other memcgs are present in the system. At the time, the main complaint came from Michal Hocko, correctly pointing out that if hierarchy == 0, we can't bypass the root memcg forever and at some point, we need to transfer charges. This is now done in this patch.
DISCLAIMER:
I haven't yet got access to a big box again. I am sending this with outdated numbers in the interest of having this in the open earlier. However, the main idea stands, and I believe the numbers are still generally valid (albeit of course, it would be better to have them updated. Independent evaluations always welcome)
* v2
- Fixed some LRU bugs
- Only keep bypassing if we have root-level hierarchy.
Glauber Costa (5):
memcg: make nocpu_base available for non hotplug
memcg: provide root figures from system totals
memcg: make it suck faster
memcg: do not call page_cgroup_init at system_boot
memcg: do not walk all the way to the root for memcg
include/linux/memcontrol.h | 72 ++++++++++--- include/linux/page_cgroup.h | 28 ++--- init/main.c | 2 - mm/memcontrol.c | 243 ++++++++++++++++++++++++++++++++++++++++---- mm/page_cgroup.c | 150 ++++++++++++++------------- 5 files changed, 382 insertions(+), 113 deletions(-)
Signature · 1 line
1.8.1.2