Re: [patch] optimize activate_task()

From: Ingo Molnar
Date: Fri Oct 28 2005 - 03:38:41 EST



* Chen, Kenneth W <kenneth.w.chen@xxxxxxxxx> wrote:

> recalc_task_prio() is called from activate_task() to calculate dynamic
> priority and interactive credit for the activating task. For real-time
> scheduling process, all that dynamic calculation is thrown away at the
> end because rt priority is fixed. Patch to optimize
> recalc_task_prio() away for rt processes.
>
>
> Signed-off-by: Ken Chen <kenneth.w.chen@xxxxxxxxx>

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/