Message ID | 20211221221458.ul93w%akpm@linux-foundation.org |
---|---|
State | Superseded |
Headers | show |
Series | + mm-hwpoison-clear-mf_count_increased-before-retrying-get_any_page.patch added to -mm tree | expand |
--- a/mm/memory-failure.c~mm-hwpoison-clear-mf_count_increased-before-retrying-get_any_page +++ a/mm/memory-failure.c @@ -2232,6 +2232,7 @@ retry: } else if (ret == 0) { if (soft_offline_free_page(page) && try_again) { try_again = false; + flags &= ~MF_COUNT_INCREASED; goto retry; } }