summaryrefslogtreecommitdiffstats
path: root/kernel/sched_idletask.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2008-05-05 23:56:17 +0200
committerIngo Molnar <mingo@elte.hu>2008-05-05 23:56:17 +0200
commite05510d01ad1565e5e086a939261084d67ba2b10 (patch)
treef6a8d27f2ad546c98079c8868d914de46a77994f /kernel/sched_idletask.c
parenta992241de614dd2b7c97a9ba64e28c0e563f19bf (diff)
downloadblackbird-op-linux-e05510d01ad1565e5e086a939261084d67ba2b10.tar.gz
blackbird-op-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 'kernel/sched_idletask.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud