Lines Matching refs:next_task
1308 struct task_struct *next_task;
1314 next_task = pick_next_pushable_task(rq);
1315 if (!next_task)
1319 if (unlikely(next_task == rq->curr)) {
1325 * It's possible that the next_task slipped in of
1329 if (unlikely(next_task->prio < rq->curr->prio)) {
1335 get_task_struct(next_task);
1338 lowest_rq = find_lock_lowest_rq(next_task, rq);
1343 * so it is possible that next_task has migrated.
1350 if (task_cpu(next_task) == rq->cpu && task == next_task) {
1357 dequeue_pushable_task(rq, next_task);
1368 put_task_struct(next_task);
1369 next_task = task;
1373 deactivate_task(rq, next_task, 0);
1374 set_task_cpu(next_task, lowest_rq->cpu);
1375 activate_task(lowest_rq, next_task, 0);
1382 put_task_struct(next_task);