]> bbs.cooldavid.org Git - net-next-2.6.git/commit - kernel/sched.c
sched: speed up update_load_add/_sub()
authorIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:04 +0000 (17:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:04 +0000 (17:00 +0200)
commit1091985b482fdd577a5c511059b9d7b4467bd15d
tree1ea76f48b0f4c68072eb5eaa5113af6aa7dbd357
parent19ccd97a03a026c2341b35af3ed2078a83c4a22b
sched: speed up update_load_add/_sub()

speed up update_load_add/_sub() by not delaying the division - this
reduces CPU pipeline dependencies.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched.c