summaryrefslogtreecommitdiff
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
authorHideo Aoki <aoki@sdl.hitachi.co.jp>2004-10-19 18:36:36 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-19 18:36:36 -0700
commit1caf076bd632994f89979fcc1584c3457a04ddcd (patch)
tree30ba3acb2c51c61e6bf3b5509010edd3dc1d48a9 /include/linux/sysctl.h
parent2850479a63f2505e8d6fdac8e111bbdf82f1bfb9 (diff)
[PATCH] vm thrashing control tuning
This patch adds "swap_token_timeout" parameter in /proc/sys/vm. The parameter means expired time of token. Unit of the value is HZ, and the default value is the same as current SWAP_TOKEN_TIMEOUT (i.e. HZ * 300). Signed-off-by: Hideo Aoki <aoki@sdl.hitachi.co.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r--include/linux/sysctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 8db31f8d17ff..129ff0ac8a15 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -167,6 +167,7 @@ enum
VM_HUGETLB_GROUP=25, /* permitted hugetlb group */
VM_VFS_CACHE_PRESSURE=26, /* dcache/icache reclaim pressure */
VM_LEGACY_VA_LAYOUT=27, /* legacy/compatibility virtual address space layout */
+ VM_SWAP_TOKEN_TIMEOUT=28, /* default time for token time out */
};