Searched refs:is_nice_reduction (Results 1 – 1 of 1) sorted by relevance
7250 static bool is_nice_reduction(const struct task_struct *p, const int nice) in is_nice_reduction() function7265 return is_nice_reduction(p, nice) || capable(CAP_SYS_NICE); in can_nice()7569 !is_nice_reduction(p, attr->sched_nice)) in user_check_sched_setscheduler()7600 if (!is_nice_reduction(p, task_nice(p))) in user_check_sched_setscheduler()