diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index ba9ed453c4ed..75b22e22a72c 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -136,7 +136,6 @@ static unsigned long dirty_bytes_min = 2 * PAGE_SIZE; | |||
136 | /* this is needed for the proc_dointvec_minmax for [fs_]overflow UID and GID */ | 136 | /* this is needed for the proc_dointvec_minmax for [fs_]overflow UID and GID */ |
137 | static int maxolduid = 65535; | 137 | static int maxolduid = 65535; |
138 | static int minolduid; | 138 | static int minolduid; |
139 | static int min_percpu_pagelist_fract = 8; | ||
140 | 139 | ||
141 | static int ngroups_max = NGROUPS_MAX; | 140 | static int ngroups_max = NGROUPS_MAX; |
142 | static const int cap_last_cap = CAP_LAST_CAP; | 141 | static const int cap_last_cap = CAP_LAST_CAP; |
@@ -152,10 +151,6 @@ static unsigned long hung_task_timeout_max = (LONG_MAX/HZ); | |||
152 | #ifdef CONFIG_SPARC | 151 | #ifdef CONFIG_SPARC |
153 | #endif | 152 | #endif |
154 | 153 | ||
155 | #ifdef CONFIG_SPARC64 | ||
156 | extern int sysctl_tsb_ratio; | ||
157 | #endif | ||
158 | |||
159 | #ifdef __hppa__ | 154 | #ifdef __hppa__ |
160 | extern int pwrsw_enabled; | 155 | extern int pwrsw_enabled; |
161 | #endif | 156 | #endif |
@@ -865,6 +860,17 @@ static struct ctl_table kern_table[] = { | |||
865 | .extra1 = &zero, | 860 | .extra1 = &zero, |
866 | .extra2 = &one, | 861 | .extra2 = &one, |
867 | }, | 862 | }, |
863 | #ifdef CONFIG_SMP | ||
864 | { | ||
865 | .procname = "softlockup_all_cpu_backtrace", | ||
866 | .data = &sysctl_softlockup_all_cpu_backtrace, | ||
867 | .maxlen = sizeof(int), | ||
868 | .mode = 0644, | ||
869 | .proc_handler = proc_dointvec_minmax, | ||
870 | .extra1 = &zero, | ||
871 | .extra2 = &one, | ||
872 | }, | ||
873 | #endif /* CONFIG_SMP */ | ||
868 | { | 874 | { |
869 | .procname = "nmi_watchdog", | 875 | .procname = "nmi_watchdog", |
870 | .data = &watchdog_user_enabled, | 876 | .data = &watchdog_user_enabled, |
@@ -1321,7 +1327,7 @@ static struct ctl_table vm_table[] = { | |||
1321 | .maxlen = sizeof(percpu_pagelist_fraction), | 1327 | .maxlen = sizeof(percpu_pagelist_fraction), |
1322 | .mode = 0644, | 1328 | .mode = 0644, |
1323 | .proc_handler = percpu_pagelist_fraction_sysctl_handler, | 1329 | .proc_handler = percpu_pagelist_fraction_sysctl_handler, |
1324 | .extra1 = &min_percpu_pagelist_fract, | 1330 | .extra1 = &zero, |
1325 | }, | 1331 | }, |
1326 | #ifdef CONFIG_MMU | 1332 | #ifdef CONFIG_MMU |
1327 | { | 1333 | { |