From: Naoya Horiguchi Date: Wed, 30 Jul 2014 23:08:28 +0000 (-0700) Subject: hwpoison: fix hugetlbfs/thp precheck in hwpoison_user_mappings() X-Git-Tag: cleanup-for-v3.18~169^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93a9eb39fad1b5fc9077776caa3af207883b254d;p=pandora-kernel.git hwpoison: fix hugetlbfs/thp precheck in hwpoison_user_mappings() A recent fix from Chen Yucong, commit 0bc1f8b0682c ("hwpoison: fix the handling path of the victimized page frame that belong to non-LRU") rejects going into unmapping operation for hugetlbfs/thp pages, which results in failing error containing on such pages. This patch fixes it. With this patch, hwpoison functional tests in mce-test testsuite pass. Signed-off-by: Naoya Horiguchi Cc: Andi Kleen Cc: Chen Yucong Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed