diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2010-03-11 22:04:31 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-03-12 18:12:18 (GMT) |
commit | 15365c108ea27598e265f8c13e7051d99ca5b0b9 (patch) | |
tree | 487cc70e96a3d6696f8f62fb7b6dbaacbc84ace5 /kernel/time/timekeeping.c | |
parent | 829b6c1ef488856c6a46a2f705f5068062d5f34c (diff) | |
download | linux-fsl-qoriq-15365c108ea27598e265f8c13e7051d99ca5b0b9.tar.xz |
posix-cpu-timers: Reset expire cache when no timer is running
When a process deletes cpu timer or a timer expires we do not clear
the expiration cache sig->cputimer_expires.
As a result the fastpath_timer_check() which prevents us to loop over
all threads in case no timer is active is not working and we run the
slow path needlessly on every tick.
Zero sig->cputimer_expires in stop_process_timers().
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: Spencer Candland <spencer@bluehost.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time/timekeeping.c')
0 files changed, 0 insertions, 0 deletions