Lines Matching +full:1 +full:- +full:stop
1 // SPDX-License-Identifier: GPL-2.0
3 * stop-task scheduling class.
5 * The stop task is the highest priority task in the system, it preempts
15 return task_cpu(p); /* stop tasks as never migrate */ in select_task_rq_stop()
31 static void set_next_task_stop(struct rq *rq, struct task_struct *stop, bool first) in set_next_task_stop() argument
33 stop->se.exec_start = rq_clock_task(rq); in set_next_task_stop()
41 return rq->stop; in pick_task_stop()
47 add_nr_running(rq, 1); in enqueue_task_stop()
53 sub_nr_running(rq, 1); in dequeue_task_stop()
59 BUG(); /* the stop task should never yield, its pointless. */ in yield_task_stop()
95 * Simple, special scheduling class for the per-CPU stop tasks:
97 DEFINE_SCHED_CLASS(stop) = {