Improve swap page error handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | swap: Split up try_to_unuse()mm/ | +170 | 0 replies | |
| 2/4 | swap: Add ability to mark swap pages badinclude/ mm/ mm/ +1 more | +42 | 0 replies | |
| 3/4 | swap: Add try_to_unuse_page_entry()include/ mm/ | +40 | 0 replies | |
| 4/4 | swap: Catch pages with errors and mark as badmm/ mm/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Improve swap page error handling
Improve the error handling when writes fail to a swap page.
Currently, the kernel will repeatedly retry the write which is unlikely to ever succeed. Instead we allow the pages to be unused and then marked as bad at which prevents reuse. It should hopefully be suitable for testing in -mm.
These patches are a based on a patch by Nick Piggin and some of my own patches/bugfixes as discussed on LKML.
Richard