Searched refs:min_unused_cpus (Results 1 – 1 of 1) sorted by relevance
1014 const long min_unused_cpus = IS_ENABLED(CONFIG_PREEMPT_NONE) ? 2 : 0; in nthreads_gen_params() local1015 const long min_required_cpus = 2 + min_unused_cpus; in nthreads_gen_params()1021 } else if (nthreads >= num_online_cpus() - min_unused_cpus) { in nthreads_gen_params()1023 nthreads = -(num_online_cpus() - min_unused_cpus); in nthreads_gen_params()