Reduce overhead of memcg when unused
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm, memcg: Try charging a page before setting page up to datemm/ | +6 | 4 replies | |
| 2/2 | mm, memcg: Optionally disable memcg by default using KconfigDocumentation/ init/ kernel/ +1 more | +38 | 5 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Michal Hocko | Johannes Weiner |
|---|---|---|
| 1/2 | A-b | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] Reduce overhead of memcg when unused
These are two patches to reduce the overhead of memcg, particularly when it's not used. The first is a simple reordering of when a barrier is applied which memcg happens to get burned by. I doubt it is controversial at all.
The second optionally disables memcg by default. This should have been the default from the start and it matches what Debian already does today. The difficulty is that existing installations may break if the new kernel parameter is not applied so distributions need to be careful with upgrades. The difference it makes is marginal and only visible in profiles, not headline performance. It'd be understandable if memcg maintainers rejected it but I'll leave it up to them.
Documentation/kernel-parameters.txt | 4 ++++ init/Kconfig | 15 +++++++++++++++ kernel/cgroup.c | 20 ++++++++++++++++---- mm/memcontrol.c | 3 +++ mm/memory.c | 10 ++++++---- 5 files changed, 44 insertions(+), 8 deletions(-)
Signature · 1 line
2.3.5