Home
last modified time | relevance | path

Searched refs:max_threads (Results 1 – 2 of 2) sorted by relevance

/kernel/
Dfork.c134 static int max_threads; /* tunable limit on nr_threads */ variable
978 max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS); in set_max_threads()
1026 init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2; in fork_init()
1027 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; in fork_init()
1032 init_user_ns.ucount_max[i] = max_threads/2; in fork_init()
2248 if (data_race(nr_threads >= max_threads)) in copy_process()
3415 int threads = max_threads; in sysctl_max_threads()
3428 max_threads = threads; in sysctl_max_threads()
Dpadata.c487 nworks = min(nworks, job->max_threads); in padata_do_multithreaded()