Re: [patch] no need to recalculate rq

From: Ingo Molnar
Date: Fri Nov 19 2004 - 03:50:39 EST



* Robert Love <rml@xxxxxxxxxx> wrote:

> - deactivate_task(p, task_rq(p));
> + deactivate_task(p, rq);
> retval = 0;
> oldprio = p->prio;
> __setscheduler(p, policy, lp.sched_priority);
> if (array) {
> - __activate_task(p, task_rq(p));
> + __activate_task(p, rq);

Acked-by: Ingo Molnar <mingo@xxxxxxx>

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/