[PATCH v2 0/3] A few fixup patches for memory failure

From: Miaohe Lin
Date: Sat Mar 12 2022 - 02:47:12 EST


Hi everyone,
This series contains a few patches to fix the race with changing page
compound page, make non-LRU movable pages unhandlable and so on. More
details can be found in the respective changelogs. Thanks!

---
v1->v2:
drop "mm/memory-failure.c: fix wrong user reference report"
make non-LRU movable pages unhandlable
fix confusing commit log and introduce MF_MSG_DIFFERENT_PAGE_SIZE
Many thanks Naoya, Mike and Yang Shi for review!
---

Miaohe Lin (3):
mm/memory-failure.c: fix race with changing page compound again
mm/memory-failure.c: avoid calling invalidate_inode_page() with
unexpected pages
mm/memory-failure.c: make non-LRU movable pages unhandlable

include/linux/mm.h | 1 +
include/ras/ras_event.h | 1 +
mm/memory-failure.c | 34 ++++++++++++++++++++++++++--------
3 files changed, 28 insertions(+), 8 deletions(-)

--
2.23.0