aboutsummaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-kernel-mm-swap
blob: 587db52084c7c21a6db250dffd9b794859d7466a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
What:		/sys/kernel/mm/swap/
Date:		August 2017
Contact:	Linux memory management mailing list <linux-mm@kvack.org>
Description:	Interface for swapping

What:		/sys/kernel/mm/swap/vma_ra_enabled
Date:		August 2017
Contact:	Linux memory management mailing list <linux-mm@kvack.org>
Description:	Enable/disable VMA based swap readahead.

		If set to true, the VMA based swap readahead algorithm
		will be used for swappable anonymous pages mapped in a
		VMA, and the global swap readahead algorithm will be
		still used for tmpfs etc. other users.  If set to
		false, the global swap readahead algorithm will be
		used for all swappable pages.

What:		/sys/kernel/mm/swap/vma_ra_max_order
Date:		August 2017
Contact:	Linux memory management mailing list <linux-mm@kvack.org>
Description:	The max readahead size in order for VMA based swap readahead

		VMA based swap readahead algorithm will readahead at
		most 1 << max_order pages for each readahead.  The
		real readahead size for each readahead will be scaled
		according to the estimation algorithm.