From: Chen Ridong <chenridong@xxxxxxxxxx> 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