OpenVZ Forum


Home » Mailing lists » Devel » [PATCH][RFC] freezer : add the TIF_FREEZE flag to all archs
Re: [PATCH][RFC] freezer : add the TIF_FREEZE flag to all archs [message #24797 is a reply to message #24664] Mon, 10 December 2007 16:38 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

>>From: Cedric Le Goater <clg@fr.ibm.com>
> 
> 
> 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
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 2/2 2.6.25] netns: separate af_packet netns data
Next Topic: [PATCH] Signal semantics for /sbin/init
Goto Forum:
  


Current Time: Tue Aug 26 13:09:41 GMT 2025

Total time taken to generate the page: 0.12010 seconds