HWPOISON, hugetlb: maintain mce_bad_pages in handling hugepage error
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Fri, 28 May 2010 00:29:19 +0000 (09:29 +0900)
committerAndi Kleen <ak@linux.intel.com>
Wed, 11 Aug 2010 07:22:32 +0000 (09:22 +0200)
For now all pages in the error hugepage are considered as hwpoisoned,
so count all of them in mce_bad_pages.

Dependency:
  "HWPOISON, hugetlb: enable error handling path for hugepage"

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
mm/memory-failure.c

Simple merge