mm: move page->mem_cgroup bad page handling into generic code
authorJohannes Weiner <[email protected]>
Wed, 10 Dec 2014 23:44:58 +0000 (15:44 -0800)
committerLinus Torvalds <[email protected]>
Thu, 11 Dec 2014 01:41:09 +0000 (17:41 -0800)
commit9edad6ea0f1416415f6fe31cc9d1dbc3817803ed
tree0f734696a3f9e66ce5f43f602a78736c0ff66b68
parent5d1ea48bdde67898e87d6d8f511fd097fa64c749
mm: move page->mem_cgroup bad page handling into generic code

Now that the external page_cgroup data structure and its lookup is
gone, let the generic bad_page() check for page->mem_cgroup sanity.

Signed-off-by: Johannes Weiner <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Acked-by: Vladimir Davydov <[email protected]>
Acked-by: David S. Miller <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/memcontrol.h
init/Kconfig
mm/debug.c
mm/memcontrol.c
mm/page_alloc.c