> On Sat, 28 Apr 2007 07:04:46 +0530 Gautham R Shenoy <ego@in.ibm.com> wrote:
>
> > This patch
> > * Provides an interface to selectively freeze the system for different events.
> > * Allows tasks to exempt themselves or other tasks from specific freeze
> > events.
> > * Allow nesting of freezer calls. For eg:
> >
> > freeze_processes(EVENT_A);
> > /* Do something with respect to event A */
> > .
> > .
> > .
> > freeze_processes(EVENT_B);
> > /* Do something with respect to event B */
> > .
> > .
> > .
> > thaw_processes(EVENT_B);
> > .
> > .
> > .
> > thaw_processes(EVENT_B);
> >
> > This type of behaviour would be required when cpu hotplug would start
> > using the process freezer, where EVENT_A would be SUSPEND and EVENT_B
> > would be HOTPLUG_CPU.
> >
> > This patch applies on the top of 2.6.21-rc7-mm2 + Rafael's freezer
> > changes from
http://lkml.org/lkml/2007/4/27/302.
>
> I think I'll duck this. We have more than enough kthread/freezer/etc work
> queued for 2.6.22.