diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2007-08-24 20:39:10 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-08-24 20:39:10 +0200 |
commit | ea0aa3b23a193d1fc5c982286edecd071af67d94 (patch) | |
tree | f0eaf77186b1d6056a34e9a87ab326f0847bdb1f /fs/exec.c | |
parent | a6f2994042cc2db9e507dc702ed0b5e2cc5890fe (diff) | |
download | op-kernel-dev-ea0aa3b23a193d1fc5c982286edecd071af67d94.zip op-kernel-dev-ea0aa3b23a193d1fc5c982286edecd071af67d94.tar.gz |
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>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions