From: Naoya Horiguchi Date: Fri, 28 May 2010 00:29:18 +0000 (+0900) Subject: HWPOISON, hugetlb: set/clear PG_hwpoison bits on hugepage X-Git-Tag: v2.6.36-rc1~52^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7013febc8940960eaaba039bac0f80910f679ce1;p=pandora-kernel.git HWPOISON, hugetlb: set/clear PG_hwpoison bits on hugepage To avoid race condition between concurrent memory errors on identified hugepage, we atomically test and set PG_hwpoison bit on the head page. All pages in the error hugepage are considered as hwpoisoned for now, so set and clear all PG_hwpoison bits in the hugepage with page lock of the head page held. Dependency: "HWPOISON, hugetlb: enable error handling path for hugepage" Signed-off-by: Naoya Horiguchi Cc: Andrew Morton Acked-by: Fengguang Wu Signed-off-by: Andi Kleen --- Reading git-diff-tree failed