diff options
author | Chen, Kenneth W <kenneth.w.chen@intel.com> | 2005-11-10 00:45:29 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-10 01:07:44 +0100 |
commit | a47ab9371e664952b1104a70ec8e9b74db3f7a5f (patch) | |
tree | 4efadd76dcd5c1712ce2e337ef2e8a87acdc8518 /security | |
parent | Fix AGP compile on non-x86 architectures (diff) | |
download | linux-a47ab9371e664952b1104a70ec8e9b74db3f7a5f.tar.xz linux-a47ab9371e664952b1104a70ec8e9b74db3f7a5f.zip |
[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 <kenneth.w.chen@intel.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Nick Piggin <piggin@cyberone.com.au>
Cc: Con Kolivas <kernel@kolivas.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions