mm/vmscan: remove obsolete offlined memcg reclaim handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm/vmscan: remove redundant !mem_cgroup_online() checksinclude/ mm/ | +9 | 7 replies | |
| 2/2 | mm/mglru: stop rotating offlined memcgs to the old generationDocumentation/ include/ mm/ +1 more | +5 | 7 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Balbir Singh | Kairui Song | Barry Song | Johannes Weiner | Shakeel Butt | Baolin Wang |
|---|---|---|---|---|---|---|
| 1/2 | A-b | R-b | R-b | R-b | A-b | |
| 2/2 | A-b | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH 0/2] mm/vmscan: remove obsolete offlined memcg reclaim handling
Since commit f1cf8d2f36dc ("mm: memcontrol: eliminate the problem of dying memory cgroup for LRU folios") and commit 0e0ac326c511 ("memcg:
move LRU size accounting on reparenting instead of copying it"), LRU folios and their size accounting are reparented to the parent memcg before a memcg is offlined, leaving the offlined memcg's lruvec permanently empty.
This series removes the remaining reclaim special-casing for offlined memcgs that assumed they could still hold LRU folios:
1. Remove redundant !mem_cgroup_online() checks in vmscan.c
2. Stop rotating offlined memcgs to the head of the old generation (MEMCG_LRU_OLD) in MGLRU.
T.J. Mercier (2):
mm/vmscan: remove redundant !mem_cgroup_online() checks mm/mglru: stop rotating offlined memcgs to the old generation
Documentation/mm/multigen_lru.rst | 4 +-- include/linux/mmzone.h | 22 +++++--------- mm/memcontrol.c | 1 - mm/vmscan.c | 48 ++++--------------------------- 4 files changed, 14 insertions(+), 61 deletions(-)
base-commit: 2bba28e98578de622ef307d00875aa8f8bca3d10
Signature · 1 line
2.56.0.307.g5fe7bd680c-goog