[PATCH -v2 next 0/4] Some cleanup for memcg

Chen Ridong posted 4 patches 11 months ago
There is a newer version of this series
mm/memcontrol.c | 127 ++++++++++++++++++++++--------------------------
1 file changed, 59 insertions(+), 68 deletions(-)
[PATCH -v2 next 0/4] Some cleanup for memcg
Posted by Chen Ridong 11 months ago
From: Chen Ridong <chenridong@huawei.com>

Some cleanup for memcg.

---
v1->v2:
 - drop the patch 'simplify the mem_cgroup_update_lru_size function'.
 - for patch 3, rename '__refill_obj_stock' to replace_stock_objcg, and
   keep the 'objcg equal' check in the calling functions.

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

 mm/memcontrol.c | 127 ++++++++++++++++++++++--------------------------
 1 file changed, 59 insertions(+), 68 deletions(-)

-- 
2.34.1