commit | 59d1d256e156bb232700836b79d1ead5027f7b1d | [log] [tgz] |
---|---|---|
author | Johannes Weiner <hannes@cmpxchg.org> | Mon Apr 07 15:37:40 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Apr 07 16:35:56 2014 -0700 |
tree | 0548526e0ea68a5f9406e85feaebc51c2f866d02 | |
parent | 7af467e8e1881fb65924329f46998e6e0d801038 [diff] |
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>