Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030397AbXBZS0h (ORCPT ); Mon, 26 Feb 2007 13:26:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030403AbXBZS0h (ORCPT ); Mon, 26 Feb 2007 13:26:37 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:32897 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030400AbXBZS0f (ORCPT ); Mon, 26 Feb 2007 13:26:35 -0500 From: "Rafael J. Wysocki" To: Oleg Nesterov , Srivatsa Vaddagiri Subject: Re: [RFC][PATCH 1/3] Freezer: Fix vfork problem Date: Mon, 26 Feb 2007 19:28:18 +0100 User-Agent: KMail/1.9.5 Cc: LKML , Andrew Morton , Pavel Machek , Aneesh Kumar , "Paul E. McKenney" , Gautham R Shenoy References: <200702261139.59130.rjw@sisk.pl> <20070226151442.GA29869@in.ibm.com> <20070226161129.GA527@tv-sign.ru> In-Reply-To: <20070226161129.GA527@tv-sign.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702261928.19274.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 24 On Monday, 26 February 2007 17:11, Oleg Nesterov wrote: > On 02/26, Srivatsa Vaddagiri wrote: > > > > On Mon, Feb 26, 2007 at 03:00:43PM +0300, Oleg Nesterov wrote: > > > In that case we should also modify ____call_usermodehelper(), otherwise we have > > > the same "deadlock" if it is frozen. But this is not so easy to do as I thought > > > before. > > > > Before ____call_usermodehelper can freeze, it should have entered userspace > > right? By that time, its vfork parent should have definitely woken up, > > which should avoid the deadlock you point out? > > Ah, yes, thanks for correcting me. > > We are doing flush_old_exec() a way before entering userspace of course. Well, does it mean the patch is acceptable or should I modify it somehow? Rafael - 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/