]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm: move page->mem_cgroup bad page handling into generic code
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 10 Dec 2014 23:44:58 +0000 (15:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Vladimir Davydov <vdavydov@parallels.com>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: "Kirill A. Shutemov" <kirill@shutemov.name>
Cc: Tejun Heo <tj@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/memcontrol.h
init/Kconfig
mm/debug.c
mm/memcontrol.c
mm/page_alloc.c