blob: 587db52084c7c21a6db250dffd9b794859d7466a [file] [log] [blame]
Huang Yingd9bfcfd2017-09-06 16:24:40 -07001What: /sys/kernel/mm/swap/
2Date: August 2017
3Contact: Linux memory management mailing list <linux-mm@kvack.org>
4Description: Interface for swapping
5
6What: /sys/kernel/mm/swap/vma_ra_enabled
7Date: August 2017
8Contact: Linux memory management mailing list <linux-mm@kvack.org>
9Description: Enable/disable VMA based swap readahead.
10
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.
17
18What: /sys/kernel/mm/swap/vma_ra_max_order
19Date: August 2017
20Contact: Linux memory management mailing list <linux-mm@kvack.org>
21Description: The max readahead size in order for VMA based swap readahead
22
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.