A few fixup patches for mm
Status from this message: [merged mm-stable] mm-filter-out-swapin-error-entry-in-shmem-mapping.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest5 patches 14 repliesApplied 5/5
- v33 patches 21 repliesSuperseded 1 of 3 applied
- v2 posting 2/23 patches 8 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 1/2 | 1 patch | 28 replies | Superseded | |
| v1 | 1 patch | 5 replies | Superseded |
Changes in v4 from the cover letter
collect Reviewed-by per Naoya and David. Thanks for review! fix infinite loop when swap in shmem error. Thanks Naoya for reporting
the issue!
Patches in v4 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mm/swapfile: unuse_pte can map random data if swap read failsinclude/ include/ mm/ +1 more | +31 | 0 replies | Applied |
| 2/5 | mm/swapfile: Fix lost swap bits in unuse_pte()mm/ | +7 | 0 replies | Applied |
| 3/5 | mm/madvise: free hwpoison and swapin error entry in madvise_free_pte_rangemm/ | +8 | 0 replies | Applied |
| 4/5 | mm/shmem: fix infinite loop when swap in shmem error at swapoff timemm/ | +39 | 13 replies | Applied |
| 5/5 | mm: filter out swapin error entry in shmem mappingmm/ mm/ | +7 | 1 reply | Applied |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | David Hildenbrand | Naoya Horiguchi |
|---|---|---|
| 1/5 | A-b | |
| 2/5 | R-b | |
| 3/5 | A-b | R-b |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/5] A few fixup patches for mm
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 and so on. More details can be found in the respective changelogs. Thanks!
---
v4:
collect Reviewed-by per Naoya and David. Thanks for review! fix infinite loop when swap in shmem error. Thanks Naoya for reporting
the issue!
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 (5):
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
mm/shmem: fix infinite loop when swap in shmem error at swapoff time
mm: filter out swapin error entry in shmem mapping
include/linux/swap.h | 7 ++++++- include/linux/swapops.h | 10 ++++++++++ mm/madvise.c | 18 ++++++++++++------ mm/memory.c | 5 ++++- mm/shmem.c | 39 +++++++++++++++++++++++++++++++++++++++ mm/swap_state.c | 3 +++ mm/swapfile.c | 21 ++++++++++++++++++--- 7 files changed, 92 insertions(+), 11 deletions(-)
Signature · 1 line
2.23.0