summaryrefslogtreecommitdiff
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>2015-06-24 23:56:53 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-25 00:49:42 (GMT)
commit2491ffee9e66edc2a6ff5ddb49118377257c0014 (patch)
treedb0a667f222c51a797a9d47f0d09166622bca036 /mm/rmap.c
parentadd05cecef803f3372c5fc1d2a964171872daf9f (diff)
downloadlinux-2491ffee9e66edc2a6ff5ddb49118377257c0014.tar.xz
mm/memory-failure: me_huge_page() does nothing for thp
memory_failure() is supposed not to handle thp itself, but to split it. But if something were wrong and page_action() were called on thp, me_huge_page() (action routine for hugepages) should be better to take no action, rather than to take wrong action prepared for hugetlb (which triggers BUG_ON().) This change is for potential problems, but makes sense to me because thp is an actively developing feature and this code path can be open in the future. Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: Tony Luck <tony.luck@intel.com> Cc: "Kirill A. Shutemov" <kirill@shutemov.name> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions