timers: split process wide cpu clocks/timers, fix
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 10 Feb 2009 15:37:31 +0000 (16:37 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 11 Feb 2009 13:04:19 +0000 (14:04 +0100)
commit3fccfd67df79c6351a156eb25a7a514e5f39c4d9
treede4776e69e197119ac64097f3ff6239a55ad77be
parentff08f76d738d0ec0f334b187f61e160caa321d54
timers: split process wide cpu clocks/timers, fix

To decrease the chance of a missed enable, always enable the timer when we
sample it, we'll always disable it when we find that there are no active timers
in the jiffy tick.

This fixes a flood of warnings reported by Mike Galbraith.

Reported-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/posix-cpu-timers.c