projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3114a8
)
mm: soft-offline: dissolve free hugepage if soft-offlined
author
Naoya Horiguchi
<n-horiguchi@ah.jp.nec.com>
Mon, 10 Jul 2017 22:47:44 +0000
(15:47 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 10 Jul 2017 23:32:30 +0000
(16:32 -0700)
Now we have code to rescue most of healthy pages from a hwpoisoned
hugepage. So let's apply it to soft_offline_free_page too.
Link:
http://lkml.kernel.org/r/1496305019-5493-6-git-send-email-n-horiguchi@ah.jp.nec.com
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory-failure.c
patch
|
blob
|
history
diff --git
a/mm/memory-failure.c
b/mm/memory-failure.c
index 42c5803e62758a3b3032866b5018f21fedc52a00..8a7b39486b9d06451fd679cf1b1bdf1cf4f6119a 100644
(file)
--- a/
mm/memory-failure.c
+++ b/
mm/memory-failure.c
@@
-1697,7
+1697,7
@@
static void soft_offline_free_page(struct page *page)
if (!TestSetPageHWPoison(head)) {
num_poisoned_pages_inc();
if (PageHuge(head))
- d
equeue_hwpoisoned_huge_page(head
);
+ d
issolve_free_huge_page(page
);
}
}