1 What: /sys/kernel/mm/swap/
3 Contact: Linux memory management mailing list <linux-mm@kvack.org>
4 Description: Interface for swapping
6 What: /sys/kernel/mm/swap/vma_ra_enabled
8 Contact: Linux memory management mailing list <linux-mm@kvack.org>
9 Description: Enable/disable VMA based swap readahead.
11 If set to true, the VMA based swap readahead algorithm
12 will be used for swappable anonymous pages mapped in a
13 VMA, and the global swap readahead algorithm will be
14 still used for tmpfs etc. other users. If set to
15 false, the global swap readahead algorithm will be
16 used for all swappable pages.
18 What: /sys/kernel/mm/swap/vma_ra_max_order
20 Contact: Linux memory management mailing list <linux-mm@kvack.org>
21 Description: The max readahead size in order for VMA based swap readahead
23 VMA based swap readahead algorithm will readahead at
24 most 1 << max_order pages for each readahead. The
25 real readahead size for each readahead will be scaled
26 according to the estimation algorithm.