Re: posix-timers overrun broken?

2007-02-07 Thread Milan Svoboda
> On Wed, 2007-02-07 at 14:36 +0100, Milan Svoboda wrote: > > But if the next interrupt arrives before function collect_signal is called > > to actually deliver the > > siginfo_t to userspace, the si.overrun is cleared in posix_timer_event and > > we have just forgotten > > one overrun... > >

Re: posix-timers overrun broken?

2007-02-07 Thread Thomas Gleixner
On Wed, 2007-02-07 at 14:36 +0100, Milan Svoboda wrote: > But if the next interrupt arrives before function collect_signal is called > to actually deliver the > siginfo_t to userspace, the si.overrun is cleared in posix_timer_event and > we have just forgotten > one overrun... > > Am I wrong? Y

posix-timers overrun broken?

2007-02-07 Thread Milan Svoboda
Hi, I'm creating a driver for timer on ixp4xx (there are two hardware timers). It shall use posix api so I looked at the only driver that implements it in kernel: drivers/char/mmtimer.c. My driver uses almost the same logic that handles overruns. However, I found that receiving of number of ove