Re: [PATCH] power: set PF_SUSPEND_TASK flag on tasks that call freeze_processes

2013-07-30 Thread Rafael J. Wysocki
On Thursday, July 25, 2013 04:51:20 PM Linus Torvalds wrote: > On Thu, Jul 25, 2013 at 1:06 PM, Rafael J. Wysocki wrote: > > > > Can we spend an extra process flag on that? > > I suspect we can. But if somebody hollers later, we'll need to do some > compaction.. OK, if we need that flag for some

Re: [PATCH] power: set PF_SUSPEND_TASK flag on tasks that call freeze_processes

2013-07-25 Thread Linus Torvalds
On Thu, Jul 25, 2013 at 1:06 PM, Rafael J. Wysocki wrote: > > Can we spend an extra process flag on that? I suspect we can. But if somebody hollers later, we'll need to do some compaction.. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH] power: set PF_SUSPEND_TASK flag on tasks that call freeze_processes

2013-07-25 Thread Rafael J. Wysocki
On Wednesday, July 24, 2013 05:41:33 PM Colin Cross wrote: > Calling freeze_processes sets a global flag that will cause any > process that calls try_to_freeze to enter the refrigerator. It > skips sending a signal to the current task, but if the current > task ever hits try_to_freeze all threads

[PATCH] power: set PF_SUSPEND_TASK flag on tasks that call freeze_processes

2013-07-24 Thread Colin Cross
Calling freeze_processes sets a global flag that will cause any process that calls try_to_freeze to enter the refrigerator. It skips sending a signal to the current task, but if the current task ever hits try_to_freeze all threads will be frozen and the system will deadlock. Set a new flag, PF_SU