diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 98ecf35d5bf2..149581fb48ab 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -101,7 +101,6 @@ static int __maybe_unused one = 1; | |||
101 | static int __maybe_unused two = 2; | 101 | static int __maybe_unused two = 2; |
102 | static unsigned long one_ul = 1; | 102 | static unsigned long one_ul = 1; |
103 | static int one_hundred = 100; | 103 | static int one_hundred = 100; |
104 | static int one_thousand = 1000; | ||
105 | 104 | ||
106 | /* this is needed for the proc_doulongvec_minmax of vm_dirty_bytes */ | 105 | /* this is needed for the proc_doulongvec_minmax of vm_dirty_bytes */ |
107 | static unsigned long dirty_bytes_min = 2 * PAGE_SIZE; | 106 | static unsigned long dirty_bytes_min = 2 * PAGE_SIZE; |
@@ -1046,28 +1045,6 @@ static struct ctl_table vm_table[] = { | |||
1046 | .proc_handler = &proc_dointvec, | 1045 | .proc_handler = &proc_dointvec, |
1047 | }, | 1046 | }, |
1048 | { | 1047 | { |
1049 | .ctl_name = CTL_UNNUMBERED, | ||
1050 | .procname = "nr_pdflush_threads_min", | ||
1051 | .data = &nr_pdflush_threads_min, | ||
1052 | .maxlen = sizeof nr_pdflush_threads_min, | ||
1053 | .mode = 0644 /* read-write */, | ||
1054 | .proc_handler = &proc_dointvec_minmax, | ||
1055 | .strategy = &sysctl_intvec, | ||
1056 | .extra1 = &one, | ||
1057 | .extra2 = &nr_pdflush_threads_max, | ||
1058 | }, | ||
1059 | { | ||
1060 | .ctl_name = CTL_UNNUMBERED, | ||
1061 | .procname = "nr_pdflush_threads_max", | ||
1062 | .data = &nr_pdflush_threads_max, | ||
1063 | .maxlen = sizeof nr_pdflush_threads_max, | ||
1064 | .mode = 0644 /* read-write */, | ||
1065 | .proc_handler = &proc_dointvec_minmax, | ||
1066 | .strategy = &sysctl_intvec, | ||
1067 | .extra1 = &nr_pdflush_threads_min, | ||
1068 | .extra2 = &one_thousand, | ||
1069 | }, | ||
1070 | { | ||
1071 | .ctl_name = VM_SWAPPINESS, | 1048 | .ctl_name = VM_SWAPPINESS, |
1072 | .procname = "swappiness", | 1049 | .procname = "swappiness", |
1073 | .data = &vm_swappiness, | 1050 | .data = &vm_swappiness, |