[0/8] A few fixup and cleanup patches for memory-failure

Message ID 20230708085744.3599311-1-linmiaohe@huawei.com
Headers
Series A few fixup and cleanup patches for memory-failure |

Message

Miaohe Lin July 8, 2023, 8:57 a.m. UTC
  Hi everyone,
This series contains a few fixup patches to fix potential permanently
locked hpage, fix race window when trying to get hugetlb folio and so
on. Also there is minor cleanup for comments and codestyle. More details
can be found in the respective changelogs.
Thanks!

Miaohe Lin (8):
  mm: memory-failure: fix potential permanently locked hpage
  mm: memory-failure: ensure moving HWPoison flag to the raw error pages
  mm: memory-failure: Don't account hwpoison_filter() filtered pages
  mm: memory-failure: use local variable huge to check hugetlb page
  mm: memory-failure: remove unneeded header files
  mm: memory-failure: minor cleanup for comments and codestyle
  mm: memory-failure: fetch compound head after extra page refcnt is
    held
  mm: memory-failure: fix race window when trying to get hugetlb folio

 mm/memory-failure.c | 49 +++++++++++++++++++++++++++------------------
 1 file changed, 30 insertions(+), 19 deletions(-)