[PATCH v3 0/2] hwpoison: fix race with compound page allocation
From: Naoya Horiguchi
Date: Tue May 11 2021 - 11:10:35 EST
I updated the patch for the issue reported by Muchun Song in . I
separated into two patches (to reduce the size of core fix for stable):
patch 1/2 focuses on preventing VM_BUG_ON_PAGE() in the reported race.
Patch 2/2 includes some code improvement like calling retry code, revising
the function comment, and some refactoring.
Any comment and testing would be appreciated.
Naoya Horiguchi (2):
mm,hwpoison: fix race with compound page allocation
mm,hwpoison: make get_hwpoison_page call get_any_page()
mm/memory-failure.c | 169 +++++++++++++++++++++++++++++-----------------------
1 file changed, 96 insertions(+), 73 deletions(-)