git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6f2994
)
sched: simplify bonus calculation #2
author
Peter Zijlstra
<a.p.zijlstra@chello.nl>
Fri, 24 Aug 2007 18:39:10 +0000
(20:39 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 24 Aug 2007 18:39:10 +0000
(20:39 +0200)
current code:
delta = calc_delta_mine(delta_exec, curr->load.weight, lw);
delta = min((u64)delta, cfs_rq->sleeper_bonus);
Notice that this calc_delta_mine() line is exactly delta_mine, which
gives:
delta = min((u64)delta_mine, cfs_rq->sleeper_bonus);
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
No differences found