RFC memcg: stock code cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest10 patches 23 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | memcg: remove root memcg check from refill_stockmm/ | +1 | 0 replies | |
| 2/10 | memcg: decouple drain_obj_stock from local stockmm/ | +6 | 1 reply | |
| 3/10 | memcg: introduce memcg_unchargemm/ | +12 | 1 reply | |
| 4/10 | memcg: manually inline __refill_stockmm/ | +12 | 1 reply | |
| 5/10 | memcg: no refilling stock from obj_cgroup_releasemm/ | +11 | 3 replies | |
| 6/10 | memcg: do obj_cgroup_put inside drain_obj_stockmm/ | +11 | 3 replies | |
| 7/10 | memcg: use __mod_memcg_state in drain_obj_stockmm/ | +3 | 3 replies | |
| 8/10 | memcg: assert in_task for couple of local_lock holdersmm/ | +4 | 0 replies | |
| 9/10 | memcg: trylock stock for objcgmm/ | +11 | 2 replies | |
| 10/10 | memcg: no more irq disabling for stock locksmm/ | +54 | 7 replies |
Reviews trailers per patch
5 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Vlastimil Babka | Sebastian Andrzej Siewior |
|---|---|---|
| 1/10 | ||
| 2/10 | A-b | |
| 3/10 | A-b | |
| 4/10 | A-b | |
| 5/10 | A-b | |
| 6/10 | ||
| 7/10 | R-b | |
| 8/10 | ||
| 9/10 | ||
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 00/10] memcg: stock code cleanups
This is a cleanup series (first 7 patches) is trying to simplify the memcg stock code, particularly it tries to remove unnecessary dependencies. The last 3 patches are a prototype to make per-cpu memcg stock work without disabling irqs.
My plan is to send out the first 7 cleanup patches separately for the next release window and iterate more on the last 3 patches plus add functionality for multiple memcgs.
This series is based on next-20250313 plus two following patches:
to simply the memcg stock code
Shakeel Butt (10):
memcg: remove root memcg check from refill_stock
memcg: decouple drain_obj_stock from local stock
memcg: introduce memcg_uncharge
memcg: manually inline __refill_stock
memcg: no refilling stock from obj_cgroup_release
memcg: do obj_cgroup_put inside drain_obj_stock
memcg: use __mod_memcg_state in drain_obj_stock
memcg: assert in_task for couple of local_lock holders
memcg: trylock stock for objcg
memcg: no more irq disabling for stock locks
mm/memcontrol.c | 201 +++++++++++++++++++++++++++--------------------- 1 file changed, 112 insertions(+), 89 deletions(-)
Signature · 1 line
2.47.1