summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fb8d472)
remove the 'u64 now' parameter from pick_next_task().
( identity transformation that causes no change in functionality. )
Signed-off-by: Ingo Molnar <mingo@elte.hu>
* Pick up the highest-prio task:
*/
static inline struct task_struct *
* Pick up the highest-prio task:
*/
static inline struct task_struct *
-pick_next_task(struct rq *rq, struct task_struct *prev, u64 now)
+pick_next_task(struct rq *rq, struct task_struct *prev)
{
struct sched_class *class;
struct task_struct *p;
{
struct sched_class *class;
struct task_struct *p;
idle_balance(cpu, rq);
prev->sched_class->put_prev_task(rq, prev, now);
idle_balance(cpu, rq);
prev->sched_class->put_prev_task(rq, prev, now);
- next = pick_next_task(rq, prev, now);
+ next = pick_next_task(rq, prev);
sched_info_switch(prev, next);
sched_info_switch(prev, next);
if (!rq->nr_running)
break;
update_rq_clock(rq);
if (!rq->nr_running)
break;
update_rq_clock(rq);
- next = pick_next_task(rq, rq->curr, rq->clock);
+ next = pick_next_task(rq, rq->curr);
if (!next)
break;
migrate_dead(dead_cpu, next);
if (!next)
break;
migrate_dead(dead_cpu, next);