Files
Linux/kernel
Johannes Weiner c843966c55 mm: allow swappiness that prefers reclaiming anon over the file workingset
With the advent of fast random IO devices (SSDs, PMEM) and in-memory swap
devices such as zswap, it's possible for swap to be much faster than
filesystems, and for swapping to be preferable over thrashing filesystem
caches.

Allow setting swappiness - which defines the rough relative IO cost of
cache misses between page cache and swap-backed pages - to reflect such
situations by making the swap-preferred range configurable.

Signed-off-by: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Rik van Riel <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
2020-06-03 20:09:48 -07:00
..
2020-06-02 10:59:11 -07:00
2019-12-18 18:07:31 +01:00
…
…
…
…
…
…
…
2020-03-21 16:00:24 +01:00
2020-01-08 16:32:55 +00:00
…
2020-01-14 12:20:48 +01:00
…
…
…
…
2019-12-04 15:18:39 +01:00
2019-12-18 18:07:31 +01:00
…
…
…
…