commit | e05510d01ad1565e5e086a939261084d67ba2b10 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Mon May 05 23:56:17 2008 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Mon May 05 23:56:17 2008 +0200 |
tree | f6a8d27f2ad546c98079c8868d914de46a77994f | |
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>