Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161412AbXBZXq3 (ORCPT ); Mon, 26 Feb 2007 18:46:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161415AbXBZXq3 (ORCPT ); Mon, 26 Feb 2007 18:46:29 -0500 Received: from ozlabs.org ([203.10.76.45]:56313 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161410AbXBZXq2 (ORCPT ); Mon, 26 Feb 2007 18:46:28 -0500 Subject: Re: [PATCH] ____call_usermodehelper: don't flush_signals() From: Rusty Russell To: Oleg Nesterov Cc: Andrew Morton , Srivatsa Vaddagiri , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org In-Reply-To: <20070226215330.GA403@tv-sign.ru> References: <20070226215330.GA403@tv-sign.ru> Content-Type: text/plain Date: Tue, 27 Feb 2007 10:45:36 +1100 Message-Id: <1172533536.13541.64.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 645 Lines: 19 On Tue, 2007-02-27 at 00:53 +0300, Oleg Nesterov wrote: > ____call_usermodehelper() has no reason for flush_signals(). It is a fresh > forked process which is going to exec a user-space application or exit on > failure. And the flush_signal_handlers() call? Your patch looks correct; this code was presumably lying around from before someone (I?) adapted this code to use kthread. Thanks, Rusty. - 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/