sched: optimize update_curr()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 16 Dec 2008 07:45:31 +0000 (08:45 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Dec 2008 08:46:33 +0000 (09:46 +0100)
commit34f28ecd0f4bdc733c681294d02d9fab5880591b
tree7869949614b6a4f2bf52f01dfaa769ebe22c8aab
parent03e89e4574a680af15f59329b061f35d9813aff4
sched: optimize update_curr()

Impact: micro-optimization

Skip the hard work when there is none.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c