From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754849AbYDYLEV (ORCPT ); Fri, 25 Apr 2008 07:04:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750901AbYDYLEN (ORCPT ); Fri, 25 Apr 2008 07:04:13 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.31.123]:59210 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750837AbYDYLEM (ORCPT ); Fri, 25 Apr 2008 07:04:12 -0400 Date: Fri, 25 Apr 2008 13:04:56 +0200 From: Pavel Machek To: Matt Helsley , "Rafael J. Wysocki" Cc: Linux-Kernel , Cedric Le Goater , Paul Menage , Oren Laadan , Linus Torvalds , linux-pm@lists.linux-foundation.org, Linux Containers Subject: Re: [RFC][PATCH 2/5] Container Freezer: Make refrigerator always available Message-ID: <20080425110456.GF14903@elf.ucw.cz> References: <20080424064756.643890130@us.ibm.com> <20080424064757.227289200@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080424064757.227289200@us.ibm.com> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > Now that the TIF_FREEZE flag is available in all architectures, > extract the refrigerator() and freeze_task() from kernel/power/process.c > and make it available to all. > > The refrigerator() can now be used in a control group subsystem > implementing a control group freezer. > > Signed-off-by: Cedric Le Goater > Signed-off-by: Matt Helsley > Tested-by: Matt Helsley There's no problem with doing this... but you should get some debate (with Linus?) whether using freezer for cgroups is sane. When that is done, there's no problem with this going in, probably through rafael's patch queue. (The first patch -- add freezer for all archs -- is probably reasonably to go in ASAP, through akpm or something...) Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html