mbox series

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

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

Message

Miaohe Lin March 12, 2022, 7:46 a.m. UTC
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(-)