30 if (stop && stop->
on_rq) {
50 static void yield_task_stop(
struct rq *rq)
65 max(curr->
se.statistics.exec_max, delta_exec));
67 curr->
se.sum_exec_runtime += delta_exec;
68 account_group_exec_runtime(curr, delta_exec);
71 cpuacct_charge(curr, delta_exec);
74 static void task_tick_stop(
struct rq *rq,
struct task_struct *curr,
int queued)
78 static void set_curr_task_stop(
struct rq *rq)
85 static void switched_to_stop(
struct rq *rq,
struct task_struct *
p)
91 prio_changed_stop(
struct rq *rq,
struct task_struct *
p,
int oldprio)
108 .enqueue_task = enqueue_task_stop,
109 .dequeue_task = dequeue_task_stop,
110 .yield_task = yield_task_stop,
112 .check_preempt_curr = check_preempt_curr_stop,
114 .pick_next_task = pick_next_task_stop,
115 .put_prev_task = put_prev_task_stop,
118 .select_task_rq = select_task_rq_stop,
121 .set_curr_task = set_curr_task_stop,
122 .task_tick = task_tick_stop,
124 .get_rr_interval = get_rr_interval_stop,
126 .prio_changed = prio_changed_stop,
127 .switched_to = switched_to_stop,