summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_thread.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2006-12-19 13:06:01 +0000
committerdavidxu <davidxu@FreeBSD.org>2006-12-19 13:06:01 +0000
commitb0b74f9bd357ada29161405649cca99e47fb08d7 (patch)
tree1e67416189db4d84fe54780b9fa793baee5006ce /sys/kern/kern_thread.c
parent6cc6a8d100d03e9a0a7755a0375b250c3801de1b (diff)
downloadFreeBSD-src-b0b74f9bd357ada29161405649cca99e47fb08d7.zip
FreeBSD-src-b0b74f9bd357ada29161405649cca99e47fb08d7.tar.gz
Remove unused sysctls.
Diffstat (limited to 'sys/kern/kern_thread.c')
-rw-r--r--sys/kern/kern_thread.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index 1f9e80f..b1be2c9 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -55,20 +55,12 @@ __FBSDID("$FreeBSD$");
*/
static uma_zone_t thread_zone;
-/* DEBUG ONLY */
SYSCTL_NODE(_kern, OID_AUTO, threads, CTLFLAG_RW, 0, "thread allocation");
-static int thread_debug = 0;
-SYSCTL_INT(_kern_threads, OID_AUTO, debug, CTLFLAG_RW,
- &thread_debug, 0, "thread debug");
int max_threads_per_proc = 1500;
SYSCTL_INT(_kern_threads, OID_AUTO, max_threads_per_proc, CTLFLAG_RW,
&max_threads_per_proc, 0, "Limit on threads per proc");
-int max_groups_per_proc = 1500;
-SYSCTL_INT(_kern_threads, OID_AUTO, max_groups_per_proc, CTLFLAG_RW,
- &max_groups_per_proc, 0, "Limit on thread groups per proc");
-
int max_threads_hits;
SYSCTL_INT(_kern_threads, OID_AUTO, max_threads_hits, CTLFLAG_RD,
&max_threads_hits, 0, "");
OpenPOWER on IntegriCloud