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