Re: [PATCH 2/4] posix timers: sigqueue_free: don't free sigqueue if it is queued

From: Oleg Nesterov
Date: Sat May 03 2008 - 16:20:19 EST


On 05/03, Linus Torvalds wrote:
>
> On Sat, 3 May 2008, Oleg Nesterov wrote:
> >
> > Note: I am not sure we shouldn't do the opposite, free sigqueue + cancel the
> > pending signal, but this needs some ugly changes. Perhaps we should reconsider
> > this change later. See also http://bugzilla.kernel.org/show_bug.cgi?id=10460
>
> You know what, I think there might be an even simple solution.
>
> How about just setting a bit saying it is canceled

I see the light! Will return on May 10.

(Damn, you have proved I'm stupid twice on the same issue! OK, OK, thanks ;)

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/