Message ID | 20210909010036.KFc0UhCIW%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | + mm-hwpoison-add-is_free_buddy_page-in-hwpoisonhandlable.patch added to -mm tree | expand |
--- a/mm/memory-failure.c~mm-hwpoison-add-is_free_buddy_page-in-hwpoisonhandlable +++ a/mm/memory-failure.c @@ -1126,7 +1126,7 @@ static int page_action(struct page_state */ static inline bool HWPoisonHandlable(struct page *page) { - return PageLRU(page) || __PageMovable(page); + return PageLRU(page) || __PageMovable(page) || is_free_buddy_page(page); } static int __get_hwpoison_page(struct page *page)