]> git.baikalelectronics.ru Git - kernel.git/commit
tick management: spread timer interrupt
authorjohn stultz <johnstul@us.ibm.com>
Sat, 21 Jul 2007 11:37:35 +0000 (04:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 00:49:15 +0000 (17:49 -0700)
commitb73fb88a2c76616838e22552cc956a81b2388f7d
tree081647bba6b901bfaa7e7216ed2f23c42ecee75d
parent4c59fbd3541e84df2540f2e490d68346a7755e03
tick management: spread timer interrupt

After discussing w/ Thomas over IRC, it seems the issue is the sched tick
fires on every cpu at the same time, causing extra lock contention.

This smaller change, adds an extra offset per cpu so the ticks don't line up.
This patch also drops the idle latency from 40us down to under 20us.

Signed-off-by: john stultz <johnstul@us.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/time/tick-sched.c