Re: [patch 01/10] mm: memcontrol: fold mem_cgroup_do_charge()

2014-06-03 Thread Michal Hocko
On Thu 29-05-14 12:15:53, Johannes Weiner wrote: > This function was split out because mem_cgroup_try_charge() got too > big. But having essentially one sequence of operations arbitrarily > split in half is not good for reworking the code. Fold it back in. > > Signed-off-by: Johannes Weiner Ac

[patch 01/10] mm: memcontrol: fold mem_cgroup_do_charge()

2014-05-29 Thread Johannes Weiner
This function was split out because mem_cgroup_try_charge() got too big. But having essentially one sequence of operations arbitrarily split in half is not good for reworking the code. Fold it back in. Signed-off-by: Johannes Weiner --- mm/memcontrol.c | 166 ++-