[PATCH v2 0/9] memcg: cleanup per-cpu stock
From: Shakeel Butt
Date: Thu Apr 03 2025 - 21:39:43 EST
This is a cleanup series which is trying to simplify the memcg per-cpu
stock code, particularly it tries to remove unnecessary dependencies on
local_lock of per-cpu memcg stock. The eight patch from Vlastimil
optimizes the charge path by combining the charging and accounting.
This series is based on mm-everything-2025-04-03-06-03. The main changes
from v1 is collecting acks, adding warning in patch 1 and rebased on the
latest local lock changes from Alexei.
Shakeel Butt (8):
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: manually inline replace_stock_objcg
Vlastimil Babka (1):
memcg: combine slab obj stock charging and accounting
mm/memcontrol.c | 196 ++++++++++++++++++++++++------------------------
1 file changed, 96 insertions(+), 100 deletions(-)
--
2.47.1