mbox series

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

Message ID 20230711055016.2286677-1-linmiaohe@huawei.com (mailing list archive)
Headers show
Series A few fixup and cleanup patches for memory-failure | expand

Message

Miaohe Lin July 11, 2023, 5:50 a.m. UTC
Hi everyone,
This series contains a few fixup patches to fix inaccurate mf_stats, 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!

---
v2
 collect Acked-by tag per Naoya
 1/8: Change to simply remove the dead code per Naoya
 8/8: Add some short comment about the race against demotion per Naoya
 Thanks Naoya for review.
---
Miaohe Lin (8):
  mm: memory-failure: remove unneeded PageHuge() check
  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 | 50 ++++++++++++++++++++++++++-------------------
 1 file changed, 29 insertions(+), 21 deletions(-)