[next -v1 0/5] Some cleanup for memcg

From: Chen Ridong
Date: Thu Dec 05 2024 - 20:45:37 EST


From: Chen Ridong <chenridong@xxxxxxxxxx>


Chen Ridong (5):
memcg: use OFP_PEAK_UNSET instead of -1
memcg: call the free function when allocation of pn fails
memcg: simplify the mem_cgroup_update_lru_size function
memcg: factor out the __refill_obj_stock function
memcg: factor out stat(event)/stat_local(event_local) reading
functions

mm/memcontrol.c | 140 ++++++++++++++++++++++--------------------------
1 file changed, 63 insertions(+), 77 deletions(-)

--
2.34.1