]> git.karo-electronics.de Git - karo-tx-linux.git/commit
posix-timers: do_schedule_next_timer: fix the setting of ->si_overrun
authorOleg Nesterov <oleg@tv-sign.ru>
Tue, 12 Aug 2008 15:30:09 +0000 (15:30 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Aug 2008 18:05:00 +0000 (11:05 -0700)
commit88be1c98cbdfd8ba4e231dc37da368d64d832e9e
tree41bf479b78f739057dc55c66124eb2f28b40ac84
parent0c920358c215b6acb9a4000f63cb8dd6268624ea
posix-timers: do_schedule_next_timer: fix the setting of ->si_overrun

commit 54da1174922cddd4be83d5a364b2e0fdd693f513 upstream

do_schedule_next_timer() sets info->si_overrun = timr->it_overrun_last,
this discards the already accumulated overruns.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Mark McLoughlin <markmc@redhat.com>
Cc: Oliver Pinter <oliver.pntr@gmail.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/posix-timers.c