Re: [patch 2/9] signalfd/timerfd - signalfd core ...

2007-03-11 Thread Davide Libenzi
On Sun, 11 Mar 2007, Oleg Nesterov wrote: > On 03/10, Davide Libenzi wrote: > > > > +static void signalfd_put_sighand(struct signalfd_ctx *ctx, > > +struct sighand_struct *sighand, > > +unsigned long *flags) > > +{ > > +

Re: [patch 2/9] signalfd/timerfd - signalfd core ...

2007-03-11 Thread Oleg Nesterov
On 03/10, Davide Libenzi wrote: > > +static void signalfd_put_sighand(struct signalfd_ctx *ctx, > + struct sighand_struct *sighand, > + unsigned long *flags) > +{ > + unlock_task_sighand(ctx->tsk, flags); > +} Note that

Re: [patch 2/9] signalfd/timerfd - signalfd core ...

2007-03-11 Thread Oleg Nesterov
On 03/10, Davide Libenzi wrote: +static void signalfd_put_sighand(struct signalfd_ctx *ctx, + struct sighand_struct *sighand, + unsigned long *flags) +{ + unlock_task_sighand(ctx-tsk, flags); +} Note that signalfd_put_sighand()

Re: [patch 2/9] signalfd/timerfd - signalfd core ...

2007-03-11 Thread Davide Libenzi
On Sun, 11 Mar 2007, Oleg Nesterov wrote: On 03/10, Davide Libenzi wrote: +static void signalfd_put_sighand(struct signalfd_ctx *ctx, +struct sighand_struct *sighand, +unsigned long *flags) +{ + unlock_task_sighand(ctx-tsk,

[patch 2/9] signalfd/timerfd - signalfd core ...

2007-03-10 Thread Davide Libenzi
This patch series implements the new signalfd() system call. I took part of the original Linus code (and you know how badly it can be broken :), and I added even more breakage ;) Signals are fetched from the same signal queue used by the process, so signalfd will compete with standard kernel

[patch 2/9] signalfd/timerfd - signalfd core ...

2007-03-10 Thread Davide Libenzi
This patch series implements the new signalfd() system call. I took part of the original Linus code (and you know how badly it can be broken :), and I added even more breakage ;) Signals are fetched from the same signal queue used by the process, so signalfd will compete with standard kernel