From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kirill Korotaev Subject: Re: [PATCH][RFC] freezer : add the TIF_FREEZE flag to all archs Date: Mon, 10 Dec 2007 19:42:21 +0300 Message-ID: <475D6C6D.5010903@sw.ru> References: <47594F8C.7070900@fr.ibm.com> <200712101736.29676.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200712101736.29676.rjw-KKrjLPT3xs0@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: "Rafael J. Wysocki" Cc: linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux Containers , linux-pm-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Cedric Le Goater List-Id: containers.vger.kernel.org >>From: Cedric Le Goater > > > Sorry for the delay, I somehow managed to overlook your message. > > >>This patch is the first step in making the refrigerator() available >>to all architectures, even for those without power management. >> >>The purpose of such a change is to be able to use the refrigerator() >>in a new control group subsystem which will implement a control group >>freezer. > > > Hm, sounds interesting, but ... > > >>If you think this is safe and not utterly stupid, I'll send the rest >>of the patchset exporting the refrigerator to all arches. > > > ... you will need to provide some details, I think. > > I also think that it's safe to define TIF_FREEZE for all architectures, but > the usefulness of it will very much depend on the purpose. :-) refrigerator() can be used (and is actually used in OpenVZ containers) to freeze container processes for checkpointing (live migration). So this can be used regardless system suspend and on all archs. Thanks, Kirill