commit | 62cccb8c8e7a3ca233f49d5e7dcb1557d25465cd | [log] [tgz] |
---|---|---|
author | Johannes Weiner <[email protected]> | Tue Mar 15 14:57:22 2016 -0700 |
committer | Linus Torvalds <[email protected]> | Tue Mar 15 16:55:16 2016 -0700 |
tree | 43a902faf461c65393a4efebf9ff9622017b92b1 | |
parent | 6a93ca8fde3cfce0f00f02281139a377c83e8d8c [diff] |
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. [[email protected]: fix warnings] Signed-off-by: Johannes Weiner <[email protected]> Suggested-by: Vladimir Davydov <[email protected]> Acked-by: Vladimir Davydov <[email protected]> Cc: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>