mbox series

[v2,0/6] A few fixup patches for memory-failure

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

Message

Miaohe Lin Aug. 23, 2022, 3:23 a.m. UTC
Hi everyone,
This series contains a few fixup patches to fix incorrect update of page
refcnt, fix possible use-after-free issue and so on. More details can be
found in the respective changelogs.
Thanks!

---
v2:
 Collect Acked-by tag per Naoya. Thanks!
 Change to add list_del() in kill_procs in 4/6
 Remove deprecated comment in 5/6
---
Miaohe Lin (6):
  mm, hwpoison: fix page refcnt leaking in try_memory_failure_hugetlb()
  mm, hwpoison: fix page refcnt leaking in unpoison_memory()
  mm, hwpoison: fix extra put_page() in soft_offline_page()
  mm, hwpoison: fix possible use-after-free in mf_dax_kill_procs()
  mm, hwpoison: kill procs if unmap fails
  mm, hwpoison: avoid trying to unpoison reserved page

 mm/memory-failure.c | 28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)