Re: [patch 6/13] signalfd/timerfd/asyncfd v5 - timerfd core ...

2007-03-15 Thread Thomas Gleixner
On Thu, 2007-03-15 at 16:02 -0700, Davide Libenzi wrote: > > > + /* > > > + * When we call this, the initialization must be complete, since > > > + * aino_getfd() will install the fd. > > > + */ > > > + error = aino_getfd(&ufd, &inode, &file, "[timerfd]",

Re: [patch 6/13] signalfd/timerfd/asyncfd v5 - timerfd core ...

2007-03-15 Thread Davide Libenzi
On Thu, 15 Mar 2007, Thomas Gleixner wrote: > Davide, > > On Wed, 2007-03-14 at 15:19 -0700, Davide Libenzi wrote: > > > +static int timerfd_tmrproc(struct hrtimer *htmr) > > +{ > > + struct timerfd_ctx *ctx = container_of(htmr, struct timerfd_ctx, tmr); > > + int rval = HRTIMER_NORESTART; >

Re: [patch 6/13] signalfd/timerfd/asyncfd v5 - timerfd core ...

2007-03-15 Thread Thomas Gleixner
Davide, On Wed, 2007-03-14 at 15:19 -0700, Davide Libenzi wrote: > +static int timerfd_tmrproc(struct hrtimer *htmr) > +{ > + struct timerfd_ctx *ctx = container_of(htmr, struct timerfd_ctx, tmr); > + int rval = HRTIMER_NORESTART; > + unsigned long flags; > + > + spin_lock_irqsave