summaryrefslogtreecommitdiffstats
path: root/mm/memblock.c
diff options
context:
space:
mode:
authorNaoya Horiguchi2015-09-09 00:03:29 +0200
committerLinus Torvalds2015-09-09 00:35:28 +0200
commit230ac719c500e58e71342be381ad2042a8cffc42 (patch)
treea0b9167f2ffb54d44795574d4a0aa6e9bcf0e051 /mm/memblock.c
parentmm/hwpoison: fix race between soft_offline_page and unpoison_memory (diff)
downloadkernel-qcow2-linux-230ac719c500e58e71342be381ad2042a8cffc42.tar.gz
kernel-qcow2-linux-230ac719c500e58e71342be381ad2042a8cffc42.tar.xz
kernel-qcow2-linux-230ac719c500e58e71342be381ad2042a8cffc42.zip
mm/hwpoison: don't try to unpoison containment-failed pages
memory_failure() can be called at any page at any time, which means that we can't eliminate the possibility of containment failure. In such case the best option is to leak the page intentionally (and never touch it later.) We have an unpoison function for testing, and it cannot handle such containment-failed pages, which results in kernel panic (visible with various calltraces.) So this patch suggests that we limit the unpoisonable pages to properly contained pages and ignore any other ones. Testers are recommended to keep in mind that there're un-unpoisonable pages when writing test programs. Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Tested-by: Wanpeng Li <wanpeng.li@hotmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memblock.c')
0 files changed, 0 insertions, 0 deletions