summaryrefslogtreecommitdiffstats
path: root/mm/pagewalk.c
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2017-09-07 01:24:40 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2017-09-07 02:27:29 +0200
commitd9bfcfdc41e8e5d80f7591f95a09ccce7cb8ad05 (patch)
treec0844737c2d37eab327d6dfb0c446ef111b92d4f /mm/pagewalk.c
parentmm, swap: VMA based swap readahead (diff)
downloadlinux-d9bfcfdc41e8e5d80f7591f95a09ccce7cb8ad05.tar.xz
linux-d9bfcfdc41e8e5d80f7591f95a09ccce7cb8ad05.zip
mm, swap: add sysfs interface for VMA based swap readahead
The sysfs interface to control the VMA based swap readahead is added as follow, /sys/kernel/mm/swap/vma_ra_enabled Enable the VMA based swap readahead algorithm, or use the original global swap readahead algorithm. /sys/kernel/mm/swap/vma_ra_max_order Set the max order of the readahead window size for the VMA based swap readahead algorithm. The corresponding ABI documentation is added too. Link: http://lkml.kernel.org/r/20170807054038.1843-5-ying.huang@intel.com Signed-off-by: "Huang, Ying" <ying.huang@intel.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Minchan Kim <minchan@kernel.org> Cc: Rik van Riel <riel@redhat.com> Cc: Shaohua Li <shli@kernel.org> Cc: Hugh Dickins <hughd@google.com> Cc: Fengguang Wu <fengguang.wu@intel.com> Cc: Tim Chen <tim.c.chen@intel.com> Cc: Dave Hansen <dave.hansen@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/pagewalk.c')
0 files changed, 0 insertions, 0 deletions