]> git.baikalelectronics.ru Git - kernel.git/commit
clockevents: check broadcast tick device not the clock events device
authorThomas Gleixner <tglx@linutronix.de>
Sat, 4 Oct 2008 08:51:07 +0000 (10:51 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 4 Oct 2008 08:51:07 +0000 (10:51 +0200)
commit2dc75dfabaaad0c91e28a2c4fa8b0fa0917f5ac3
treefae1802b291e57c0376f9deddcbd8bf539587940
parent61b0f402275082111cd3a25ebc84e716837346e4
clockevents: check broadcast tick device not the clock events device

Impact: jiffies increment too fast.

Hugh Dickins noted that with NOHZ=n and HIGHRES=n jiffies get
incremented too fast. The reason is a wrong check in the broadcast
enter/exit code, which keeps the local apic timer in periodic mode
when the switch happens.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/tick-broadcast.c