Searched refs:max_threads_per_proc (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/sys/kern/
H A Dkern_thr.c67 int max_threads_per_proc = 1500; variable
68 SYSCTL_INT(_kern_threads, OID_AUTO, max_threads_per_proc, CTLFLAG_RW,
69 &max_threads_per_proc, 0, "Limit on threads per proc");
73 &max_threads_hits, 0, "kern.threads.max_threads_per_proc hit count");
617 if (p->p_numthreads >= max_threads_per_proc) {
H A Dkern_thread.c533 extern int max_threads_per_proc;
554 maxthread = MIN(maxproc * max_threads_per_proc, 1000000);
556 maxthread = MIN(maxproc * max_threads_per_proc, 100000);

Completed in 66 milliseconds