All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] A few fixup patches for mm
@ 2022-04-24  9:11 Miaohe Lin
  2022-04-24  9:11 ` [PATCH v3 1/3] mm/swapfile: unuse_pte can map random data if swap read fails Miaohe Lin
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Miaohe Lin @ 2022-04-24  9:11 UTC (permalink / raw)
  To: akpm
  Cc: willy, vbabka, dhowells, neilb, david, apopple, surenb, minchan,
	peterx, sfr, naoya.horiguchi, linux-mm, linux-kernel, linmiaohe

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!

---
v3:
  collect Acked-by tag per David
  remove unneeded pte wrprotect per David
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           | 21 ++++++++++++++++++---
 5 files changed, 46 insertions(+), 10 deletions(-)

-- 
2.23.0


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2022-05-13  3:14 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-24  9:11 [PATCH v3 0/3] A few fixup patches for mm Miaohe Lin
2022-04-24  9:11 ` [PATCH v3 1/3] mm/swapfile: unuse_pte can map random data if swap read fails Miaohe Lin
2022-04-25  1:08   ` HORIGUCHI NAOYA(堀口 直也)
2022-04-25  2:20     ` Miaohe Lin
2022-04-25  2:51       ` HORIGUCHI NAOYA(堀口 直也)
2022-04-25  3:10         ` Miaohe Lin
2022-04-25  7:45     ` David Hildenbrand
2022-04-25  8:47       ` Miaohe Lin
2022-04-26  0:31         ` HORIGUCHI NAOYA(堀口 直也)
2022-04-26  7:06           ` Miaohe Lin
2022-04-25  7:41   ` ying.huang
2022-04-25  7:49     ` David Hildenbrand
2022-04-25  7:55       ` ying.huang
2022-04-25  8:01         ` David Hildenbrand
2022-04-25  8:51           ` Miaohe Lin
2022-05-10  6:17   ` HORIGUCHI NAOYA(堀口 直也)
2022-05-10  6:58     ` Miaohe Lin
2022-05-13  0:42       ` Andrew Morton
2022-05-13  3:14         ` Miaohe Lin
2022-05-10 12:46     ` Miaohe Lin
2022-04-24  9:11 ` [PATCH v3 2/3] mm/swapfile: Fix lost swap bits in unuse_pte() Miaohe Lin
2022-04-25  7:39   ` David Hildenbrand
2022-04-24  9:11 ` [PATCH v3 3/3] mm/madvise: free hwpoison and swapin error entry in madvise_free_pte_range Miaohe Lin
2022-04-24 23:41   ` HORIGUCHI NAOYA(堀口 直也)
2022-04-25  1:59     ` Miaohe Lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.