]> git.baikalelectronics.ru Git - kernel.git/commit
mm: memcontrol: fold mem_cgroup_start_move()/mem_cgroup_end_move()
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 10 Dec 2014 23:44:11 +0000 (15:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:07 +0000 (17:41 -0800)
commitb845ec939df86a72da83cb89f9239ce8060f968b
treefa0e3e5694d211ce2006762599926dd3f566235a
parent64141f63aa00d5e23cd8dbc611c833322ecdde9d
mm: memcontrol: fold mem_cgroup_start_move()/mem_cgroup_end_move()

Having these functions and their documentation split out and somewhere
makes it harder, not easier, to follow what's going on.

Inline them directly where charge moving is prepared and finished, and put
an explanation right next to it.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c