diff options
| author | Stanislaw Gruszka <[email protected]> | 2010-03-11 22:04:31 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2010-03-12 18:12:18 +0000 |
| commit | 15365c108ea27598e265f8c13e7051d99ca5b0b9 (patch) | |
| tree | 487cc70e96a3d6696f8f62fb7b6dbaacbc84ace5 /net/lapb/lapb_subr.c | |
| parent | timer stats: Fix del_timer_sync() and try_to_del_timer_sync() (diff) | |
| download | kernel-15365c108ea27598e265f8c13e7051d99ca5b0b9.tar.gz kernel-15365c108ea27598e265f8c13e7051d99ca5b0b9.zip | |
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 <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Hidetoshi Seto <[email protected]>
Cc: Spencer Candland <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
