Re: Tesing of / bugs in new timerfd API

2007-12-17 Thread Davide Libenzi
On Mon, 17 Dec 2007, Michael Kerrisk wrote: > > Can you try the two patches below? I tried them on my 32 bit box (one of > > the rare beasts still lingering around here) and it seems to be working > > fine (those go on top of the previous ones). > > Against 2.6.24-rc5, I applied first your earlie

Re: Tesing of / bugs in new timerfd API

2007-12-17 Thread Michael Kerrisk
Hi Davide, On 12/16/07, Davide Libenzi <[EMAIL PROTECTED]> wrote: > On Fri, 14 Dec 2007, Michael Kerrisk wrote: > > > You snipped my example that demonstrated the problem. Both of the > > following runs create a timer that expires 10 seconds from "now", but > > observe the difference in the value

Re: Tesing of / bugs in new timerfd API

2007-12-16 Thread Davide Libenzi
On Fri, 14 Dec 2007, Michael Kerrisk wrote: > You snipped my example that demonstrated the problem. Both of the > following runs create a timer that expires 10 seconds from "now", but > observe the difference in the value returned by timerfd_gettime(): > > $ ./timerfd_test 10 # does not

Re: Tesing of / bugs in new timerfd API

2007-12-14 Thread Michael Kerrisk
Hi Davide, Davide Libenzi wrote: > On Thu, 13 Dec 2007, Michael Kerrisk wrote: > BUG 2: The last sentence does not match the implementation. (Nor is it consistent with the behavior of POSIX timers. And I *think* things did work correctly in the original timerfd() implemen

Re: Tesing of / bugs in new timerfd API

2007-12-13 Thread Davide Libenzi
On Thu, 13 Dec 2007, Michael Kerrisk wrote: > > > BUG 2: > > > The last sentence does not match the implementation. > > > (Nor is it consistent with the behavior of POSIX timers. > > > And I *think* things did work correctly in the original > > > timerfd() implementation, but I have not gone back

Re: Tesing of / bugs in new timerfd API

2007-12-13 Thread Michael Kerrisk
Hi Davide, On Dec 13, 2007 10:49 PM, Davide Libenzi <[EMAIL PROTECTED]> wrote: > On Thu, 13 Dec 2007, Michael Kerrisk wrote: > > > Davide, Andrew, > > > > I applied Davide's v3 patchset (sent into LKML on 25 Nov) against > > 2.4.24-rc3, and did various tests (all on x86). Several tests > > were d

Re: Tesing of / bugs in new timerfd API

2007-12-13 Thread Davide Libenzi
On Thu, 13 Dec 2007, Michael Kerrisk wrote: > Davide, Andrew, > > I applied Davide's v3 patchset (sent into LKML on 25 Nov) against > 2.4.24-rc3, and did various tests (all on x86). Several tests > were done using the program at the foot of this mail. Various others > were done by cobbling toge