diff options
author | 2008-05-05 23:56:17 +0200 | |
---|---|---|
committer | 2008-05-05 23:56:17 +0200 | |
commit | e05510d01ad1565e5e086a939261084d67ba2b10 (patch) | |
tree | f6a8d27f2ad546c98079c8868d914de46a77994f /lib/parser.c | |
parent | sched: fix normalized sleeper (diff) | |
download | wireguard-linux-e05510d01ad1565e5e086a939261084d67ba2b10.tar.xz wireguard-linux-e05510d01ad1565e5e086a939261084d67ba2b10.zip |
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 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions