diff options
author | 2013-09-30 13:45:22 -0700 | |
---|---|---|
committer | 2013-09-30 14:31:02 -0700 | |
commit | e76d30e20be5fca46c185a1470b045b89f95edcb (patch) | |
tree | c1f7d396eb6009f9d11df8d9bb34ad430efd7941 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/hwpoison: fix traversal of hugetlbfs pages to avoid printk flood (diff) | |
download | linux-dev-e76d30e20be5fca46c185a1470b045b89f95edcb.tar.xz linux-dev-e76d30e20be5fca46c185a1470b045b89f95edcb.zip |
mm/hwpoison: fix test for a transparent huge page
PageTransHuge() can't guarantee the page is a transparent huge page
since it returns true for both transparent huge and hugetlbfs pages.
This patch fixes it by checking the page is also !hugetlbfs page.
Before patch:
[ 121.571128] Injecting memory failure at pfn 23a200
[ 121.571141] MCE 0x23a200: huge page recovery: Delayed
[ 140.355100] MCE: Memory failure is now running on 0x23a200
After patch:
[ 94.290793] Injecting memory failure at pfn 23a000
[ 94.290800] MCE 0x23a000: huge page recovery: Delayed
[ 105.722303] MCE: Software-unpoisoned page 0x23a000
Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Acked-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions