Messages in this thread Patch in this message | | | Subject | [PATCH] posix-timer fix requeue accounting when signal is ignored | From | Thomas Gleixner <> | Date | Thu, 16 Mar 2006 11:30:11 +0100 |
| |
From: Roman Zippel <zippel@linux-m68k.org>
When the posix-timer signal is ignored then the timer is rearmed by the callback function. The requeue pending accounting has to be fixed up else the state might be wrong.
Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Index: linux-2.6.16-updates/kernel/posix-timers.c =================================================================== --- linux-2.6.16-updates.orig/kernel/posix-timers.c +++ linux-2.6.16-updates/kernel/posix-timers.c @@ -358,6 +358,7 @@ static int posix_timer_fn(struct hrtimer timer->base->softirq_time, timr->it.real.interval); ret = HRTIMER_RESTART; + ++timr->it_requeue_pending; } }
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |