Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754739AbXE3O5x (ORCPT ); Wed, 30 May 2007 10:57:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752501AbXE3O5q (ORCPT ); Wed, 30 May 2007 10:57:46 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:57542 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752087AbXE3O5p (ORCPT ); Wed, 30 May 2007 10:57:45 -0400 Date: Wed, 30 May 2007 10:57:44 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Oleg Nesterov cc: linux-kernel@vger.kernel.org Subject: Re: Sending signals to a kernel thread, broken in 2.6.22 In-Reply-To: <20070530123315.GA927@tv-sign.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 655 Lines: 20 On Wed, 30 May 2007, Oleg Nesterov wrote: > > Please look at > > > > change kernel threads to ignore signals instead of blocking them > > commit: 10ab825bdef8df510f99c703a5a2d9b13a4e31a5 > > > > I think you can convert the code above to use allow_signal(). > > something like untested/uncompiled patch below, what do you think? I tried it out, and it worked perfectly. Thank you very much. Alan Stern - 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/