linux/Documentation
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 <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Rik van Riel <riel@surriel.com>
Link: http://lkml.kernel.org/r/20200520232525.798933-4-hannes@cmpxchg.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-06-03 20:09:48 -07:00
..
2020-06-02 13:25:52 -07:00
2020-06-02 19:59:25 -07:00
2020-03-30 01:35:12 +02:00
2020-04-01 16:11:40 -07:00
2020-06-02 15:04:15 -07:00
2020-06-02 19:45:12 -07:00
2020-03-30 13:42:05 -07:00
2020-03-19 07:41:04 +01:00
2020-04-02 17:03:53 -07:00
2020-04-03 13:22:40 -07:00