patch-2.3.11 linux/kernel/sysctl.c
Next file: linux/mm/filemap.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sun Jul 11 09:11:46 1999
- Orig file:
v2.3.10/linux/kernel/sysctl.c
- Orig date:
Thu Jul 8 15:42:21 1999
diff -u --recursive --new-file v2.3.10/linux/kernel/sysctl.c linux/kernel/sysctl.c
@@ -34,6 +34,7 @@
extern int console_loglevel, C_A_D;
extern int bdf_prm[], bdflush_min[], bdflush_max[];
extern int sysctl_overcommit_memory;
+extern int max_threads;
extern int nr_queued_signals, max_queued_signals;
#ifdef CONFIG_KMOD
@@ -207,6 +208,8 @@
{KERN_SHMMAX, "shmmax", &shmmax, sizeof (int),
0644, NULL, &proc_dointvec},
#endif
+ {KERN_MAX_THREADS, "threads-max", &max_threads, sizeof(int),
+ 0644, NULL, &proc_dointvec},
{0}
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)