From a47ab9371e664952b1104a70ec8e9b74db3f7a5f Mon Sep 17 00:00:00 2001 From: "Chen, Kenneth W" Date: Wed, 9 Nov 2005 15:45:29 -0800 Subject: [PATCH] [PATCH] optimize activate_task() 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 Acked-by: Ingo Molnar Cc: Nick Piggin Cc: Con Kolivas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed