aboutsummaryrefslogtreecommitdiff
path: root/kernel/tsacct.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2007-08-24 20:39:10 +0200
committerIngo Molnar <mingo@elte.hu>2007-08-24 20:39:10 +0200
commitea0aa3b23a193d1fc5c982286edecd071af67d94 (patch)
treef0eaf77186b1d6056a34e9a87ab326f0847bdb1f /kernel/tsacct.c
parenta6f2994042cc2db9e507dc702ed0b5e2cc5890fe (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>
Diffstat (limited to 'kernel/tsacct.c')
0 files changed, 0 insertions, 0 deletions