Lines Matching refs:kthread_prio
161 static int kthread_prio = IS_ENABLED(CONFIG_RCU_BOOST) ? 1 : 0; variable
162 module_param(kthread_prio, int, 0444);
202 return kthread_prio; in rcu_get_gp_kthreads_prio()
4389 struct sched_param param = { .sched_priority = kthread_prio }; in rcu_start_exp_gp_kworkers()
4441 if (kthread_prio) { in rcu_spawn_gp_kthread()
4442 sp.sched_priority = kthread_prio; in rcu_spawn_gp_kthread()
4589 int kthread_prio_in = kthread_prio; in sanitize_kthread_prio()
4591 if (IS_ENABLED(CONFIG_RCU_BOOST) && kthread_prio < 2 in sanitize_kthread_prio()
4593 kthread_prio = 2; in sanitize_kthread_prio()
4594 else if (IS_ENABLED(CONFIG_RCU_BOOST) && kthread_prio < 1) in sanitize_kthread_prio()
4595 kthread_prio = 1; in sanitize_kthread_prio()
4596 else if (kthread_prio < 0) in sanitize_kthread_prio()
4597 kthread_prio = 0; in sanitize_kthread_prio()
4598 else if (kthread_prio > 99) in sanitize_kthread_prio()
4599 kthread_prio = 99; in sanitize_kthread_prio()
4601 if (kthread_prio != kthread_prio_in) in sanitize_kthread_prio()
4603 __func__, kthread_prio, kthread_prio_in); in sanitize_kthread_prio()