Commit 211f6939 authored by Hideo Aoki's avatar Hideo Aoki Committed by Linus Torvalds

[PATCH] vm thrashing control tuning CONFIG_SWAP=n build fix

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 652faad5
...@@ -783,7 +783,6 @@ static ctl_table vm_table[] = { ...@@ -783,7 +783,6 @@ static ctl_table vm_table[] = {
.strategy = &sysctl_intvec, .strategy = &sysctl_intvec,
.extra1 = &zero, .extra1 = &zero,
}, },
#ifdef CONFIG_SWAP
{ {
.ctl_name = VM_VFS_CACHE_PRESSURE, .ctl_name = VM_VFS_CACHE_PRESSURE,
.procname = "vfs_cache_pressure", .procname = "vfs_cache_pressure",
...@@ -806,6 +805,7 @@ static ctl_table vm_table[] = { ...@@ -806,6 +805,7 @@ static ctl_table vm_table[] = {
.extra1 = &zero, .extra1 = &zero,
}, },
#endif #endif
#ifdef CONFIG_SWAP
{ {
.ctl_name = VM_SWAP_TOKEN_TIMEOUT, .ctl_name = VM_SWAP_TOKEN_TIMEOUT,
.procname = "swap_token_timeout", .procname = "swap_token_timeout",
...@@ -815,6 +815,7 @@ static ctl_table vm_table[] = { ...@@ -815,6 +815,7 @@ static ctl_table vm_table[] = {
.proc_handler = &proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = &sysctl_jiffies,
}, },
#endif
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
...@@ -925,7 +926,6 @@ static ctl_table fs_table[] = { ...@@ -925,7 +926,6 @@ static ctl_table fs_table[] = {
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = &proc_dointvec,
}, },
#endif
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment