mm: memcg: remove mem_cgroup_move_account_page_stat()
authorJohannes Weiner <hannes@cmpxchg.org>
Mon, 7 Apr 2014 22:37:40 +0000 (15:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Apr 2014 23:35:56 +0000 (16:35 -0700)
commit59d1d256e156bb232700836b79d1ead5027f7b1d
tree0548526e0ea68a5f9406e85feaebc51c2f866d02
parent7af467e8e1881fb65924329f46998e6e0d801038
mm: memcg: remove mem_cgroup_move_account_page_stat()

It used to disable preemption and run sanity checks but now it's only
taking a number out of one percpu counter and putting it into another.
Do this directly in the callsite and save the indirection.

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