diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-05-05 23:56:17 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-05-05 23:56:17 +0200 |
commit | e05510d01ad1565e5e086a939261084d67ba2b10 (patch) | |
tree | f6a8d27f2ad546c98079c8868d914de46a77994f /kernel/sched_rt.c | |
parent | a992241de614dd2b7c97a9ba64e28c0e563f19bf (diff) |
sched: optimize calc_delta_mine()
Joel noticed that the !lw->inv_weight contition isn't unlikely anymore so
remove the unlikely annotation. Also, remove the two div64_u64() inv_weight
calculations, which makes them rely on the calc_delta_mine() path as well.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
CC: Joel Schopp <jschopp@austin.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_rt.c')
0 files changed, 0 insertions, 0 deletions