Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754477AbXFNULd (ORCPT ); Thu, 14 Jun 2007 16:11:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751005AbXFNULZ (ORCPT ); Thu, 14 Jun 2007 16:11:25 -0400 Received: from mail.screens.ru ([213.234.233.54]:56369 "EHLO mail.screens.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751068AbXFNULY (ORCPT ); Thu, 14 Jun 2007 16:11:24 -0400 Date: Fri, 15 Jun 2007 00:11:32 +0400 From: Oleg Nesterov To: Paul Clements Cc: Andrew Morton , Benjamin Herrenschmidt , Pavel Machek , Roland McGrath , linux-kernel@vger.kernel.org Subject: Re: [PATCH] nbd.c:sock_xmit: cleanup signal related code Message-ID: <20070614201132.GA278@tv-sign.ru> References: <20070614172243.GA2446@tv-sign.ru> <467198C8.1040107@steeleye.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <467198C8.1040107@steeleye.com> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 659 Lines: 20 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/