memcg: cleanup per-cpu charge caches
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 6 repliesIn review
- v14 patches 21 repliesSuperseded
Changes in v2 from the cover letter
- memcg: do not try to drain per-cpu caches without pages uses drain_cache_local for the current CPU
- added memcg: add mem_cgroup_same_or_subtree helper
- dropped "memcg: prevent from reclaiming if there are per-cpu cached charges" patch
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | memcg: do not try to drain per-cpu caches without pagesmm/ | +7 | 4 replies | |
| 2/4 | memcg: unify sync and async per-cpu charge cache drainingmm/ | +34 | 0 replies | |
| 3/4 | memcg: add mem_cgroup_same_or_subtree helpermm/ | +26 | 0 replies | |
| 4/4 | memcg: get rid of percpu_charge_mutex lockmm/ | +2 | 14 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | KAMEZAWA Hiroyuki | Michal Hocko |
|---|---|---|
| 1/4 | A-b A-b | A-b |
| 2/4 | R-b | |
| 3/4 | A-b | |
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4 v2] memcg: cleanup per-cpu charge caches
Hi,
this is a second version of the per-cpu carge draining code cleanup. I have dropped the "fix unnecessary reclaim if there are still cached charges" part because it seems to have some issues and it is not critical at the moment.
I think that the cleanup has some sense on its own.
Changes since v1:
- memcg: do not try to drain per-cpu caches without pages uses drain_cache_local for the current CPU
- added memcg: add mem_cgroup_same_or_subtree helper
- dropped "memcg: prevent from reclaiming if there are per-cpu cached charges" patch
Michal Hocko (4):
memcg: do not try to drain per-cpu caches without pages
memcg: unify sync and async per-cpu charge cache draining
memcg: add mem_cgroup_same_or_subtree helper
memcg: get rid of percpu_charge_mutex lock
mm/memcontrol.c | 110 +++++++++++++++++++++++++++++++------------------------ 1 files changed, 62 insertions(+), 48 deletions(-)
Signature · 8 lines
1.7.5.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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"[email protected]"> [email protected] </a>