diff options
| author | Chen, Kenneth W <[email protected]> | 2005-11-09 15:45:29 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2005-11-09 16:07:44 -0800 |
| commit | a47ab9371e664952b1104a70ec8e9b74db3f7a5f (patch) | |
| tree | 4efadd76dcd5c1712ce2e337ef2e8a87acdc8518 /scripts/basic | |
| parent | 6730c3c14421b7c924d06e31bb66e0adad225547 (diff) | |
[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 <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Con Kolivas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions