[PATCH v2 0/4] A few fixup patches for mm

From: Miaohe Lin
Date: Thu Jul 27 2023 - 07:56:59 EST


Hi everyone,
This series contains a few fixup patches to fix potential unexpected
return value, fix wrong swap entry type for hwpoisoned swapcache page
and so on. More details can be found in the respective changelogs.
Thanks!

Miaohe Lin (4):
mm/swapfile: fix wrong swap entry type for hwpoisoned swapcache page
mm: memory-failure: fix potential unexpected return value from
unpoison_memory()
mm: memory-failure: avoid false hwpoison page mapped error info
mm: memory-failure: add PageOffline() check
---
v2:
collect Reviewed-by and Acked-by tag per Matthew and Naoya.
1/4: a better fix per Matthew
2/4: fix a code smell per Naoya
Thanks!
---
mm/ksm.c | 2 ++
mm/memory-failure.c | 32 ++++++++++++++++++--------------
mm/swapfile.c | 8 ++++----
3 files changed, 24 insertions(+), 18 deletions(-)

--
2.33.0