We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff1593f commit 4fd951eCopy full SHA for 4fd951e
mm/memory-failure.c
@@ -2051,6 +2051,13 @@ int unpoison_memory(unsigned long pfn)
2051
2052
mutex_lock(&mf_mutex);
2053
2054
+ if (is_huge_zero_page(page)) {
2055
+ unpoison_pr_info("Unpoison: huge zero page is not supported %#lx\n",
2056
+ pfn, &unpoison_rs);
2057
+ ret = -EOPNOTSUPP;
2058
+ goto unlock_mutex;
2059
+ }
2060
+
2061
if (!PageHWPoison(p)) {
2062
unpoison_pr_info("Unpoison: Page was already unpoisoned %#lx\n",
2063
pfn, &unpoison_rs);
0 commit comments