mm,swap: skip swap readahead for instant IO (like zswap)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm,swap: extract swap single page readahead into its own functionmm/ | +25 | 2 replies | |
| 2/2 | mm,swap: skip swap readahead if page was obtained instantaneouslymm/ | +11 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] mm,swap: skip swap readahead for instant IO (like zswap)
Both with frontswap/zswap, and with some extremely fast IO devices, swap IO will be done before the "asynchronous" swap_readpage() call has returned.
In that case, doing swap readahead only wastes memory, increases latency, and increases the chances of needing to evict something more useful from memory. In that case, just skip swap readahead.