Johannes Weiner 62cccb8c8e mm: simplify lock_page_memcg()
Now that migration doesn't clear page->mem_cgroup of live pages anymore,
it's safe to make lock_page_memcg() and the memcg stat functions take
pages, and spare the callers from memcg objects.

[akpm@linux-foundation.org: fix warnings]
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Suggested-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Acked-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-03-15 16:55:16 -07:00
..
2016-03-15 16:55:16 -07:00
2016-01-22 10:54:13 -08:00
2015-06-22 09:44:02 +10:00
2016-01-22 10:54:13 -08:00
2016-03-11 10:21:32 -08:00
2016-01-22 18:04:28 -05:00
2015-11-11 20:18:48 -08:00
2015-03-04 16:06:38 +01:00
2015-02-23 21:22:31 +11:00