Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751330AbXBZMAl (ORCPT ); Mon, 26 Feb 2007 07:00:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751321AbXBZMAl (ORCPT ); Mon, 26 Feb 2007 07:00:41 -0500 Received: from mail.screens.ru ([213.234.233.54]:39553 "EHLO mail.screens.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751330AbXBZMAk (ORCPT ); Mon, 26 Feb 2007 07:00:40 -0500 Date: Mon, 26 Feb 2007 15:00:43 +0300 From: Oleg Nesterov To: "Rafael J. Wysocki" Cc: LKML , Andrew Morton , Pavel Machek , Srivatsa Vaddagiri , Aneesh Kumar , "Paul E. McKenney" , Gautham R Shenoy Subject: Re: [RFC][PATCH 1/3] Freezer: Fix vfork problem Message-ID: <20070226120043.GB234@tv-sign.ru> References: <200702261139.59130.rjw@sisk.pl> <200702261147.12274.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200702261147.12274.rjw@sisk.pl> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 791 Lines: 22 On 02/26, Rafael J. Wysocki wrote: > > The changelog explains it pretty well, I hope, but I have one more comment to > start with. Namely, in this version of the patch I've added > > + if (is_user_space(current)) > + try_to_freeze(); > > to freezer_count() instead of just try_to_freeze(). This way kernel threads > can avoid being frozen where they don't want to. 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. 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/