lkml.org 
[lkml]   [2022]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] A few fixup patches for mm
Date
Hi everyone,
This series contains a few patches to avoid mapping random data if swap
read fails and fix lost swap bits in unuse_pte. Also we free hwpoison and
swapin error entry in madvise_free_pte_range. More details can be found
in the respective changelogs. Thanks!

---
v2:
make the terminology consistent and collect Acked-by tag per David
fix lost swap bits in unuse_pte per Peter
free hwpoison and swapin error entry per Alistair
Many thanks Alistair, David and Peter for review!
---
Miaohe Lin (3):
mm/swapfile: unuse_pte can map random data if swap read fails
mm/swapfile: Fix lost swap bits in unuse_pte()
mm/madvise: free hwpoison and swapin error entry in
madvise_free_pte_range

include/linux/swap.h | 7 ++++++-
include/linux/swapops.h | 10 ++++++++++
mm/madvise.c | 13 ++++++++-----
mm/memory.c | 5 ++++-
mm/swapfile.c | 23 ++++++++++++++++++++---
5 files changed, 48 insertions(+), 10 deletions(-)

--
2.23.0

\
 
 \ /
  Last update: 2022-04-21 14:53    [W:2.222 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site