Searched refs:wq_max_constrained_threads (Results 1 – 1 of 1) sorted by relevance
137 static uint32_t wq_max_constrained_threads = WORKQUEUE_MAXTHREADS / 8; variable175 SYSCTL_INT(_kern, OID_AUTO, wq_max_constrained_threads, CTLFLAG_RW | CTLFLAG_LOCKED,176 &wq_max_constrained_threads, 0, "");854 if (wq_max_constrained_threads > idle - wq_death_max_load) { in workq_kill_delay_for_idle_thread()855 delay *= (wq_max_constrained_threads - (idle - wq_death_max_load)); in workq_kill_delay_for_idle_thread()857 return delay / wq_max_constrained_threads; in workq_kill_delay_for_idle_thread()1261 if (cur_idle >= wq_max_constrained_threads || in workq_push_idle_thread()2049 if (limit > wq_max_constrained_threads) { in workq_open()2050 wq_max_constrained_threads = limit; in workq_open()2448 force_run = (wq->wq_constrained_threads_scheduled-- == wq_max_constrained_threads); in bsdthread_set_self()[all …]