commit | ea0aa3b23a193d1fc5c982286edecd071af67d94 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Fri Aug 24 20:39:10 2007 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Aug 24 20:39:10 2007 +0200 |
tree | f0eaf77186b1d6056a34e9a87ab326f0847bdb1f | |
parent | a6f2994042cc2db9e507dc702ed0b5e2cc5890fe [diff] |
sched: simplify bonus calculation #2 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>