Re: [PATCH] nbd.c:sock_xmit: cleanup signal related code

From: Oleg Nesterov
Date: Thu Jun 14 2007 - 16:11:33 EST


On 06/14, Paul Clements wrote:
>
> Oleg Nesterov wrote:
>
> >Note: I can't understand this dequeue_signal(), it can dequeue SIGKILL
> >for the user-space task doing nbd_ioctl() ?
>
> So we can interrupt an nbd transmission without waiting for a TCP
> timeout (when we know the network is down).

Yes, but that task should not survive after SIGKILL ? Note that SIGNAL_GROUP_EXIT
is set, this is not good.

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/