]> 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)
commit8a83c9898bfd39f84cda651cdb5c9c9a9b26e9dc
treefa0e3e5694d211ce2006762599926dd3f566235a
parent96f9b4abdf86a0cae8d623b3a8766115bfdb0ec6
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