Re: [RFC PATCH] freezer: allow killing of frozen tasks

2013-09-25 Thread Colin Cross
On Wed, Sep 25, 2013 at 1:07 AM, Rafael J. Wysocki wrote: > On Wednesday, September 25, 2013 02:52:26 PM Kyungmin Park wrote: >> On Tue, Aug 20, 2013 at 9:41 PM, Rafael J. Wysocki wrote: >> > On Tuesday, August 20, 2013 08:27:27 AM Tejun Heo wrote: >> >> On Tue, Aug 20, 2013 at 02:34:14PM +0200,

Re: [RFC PATCH] freezer: allow killing of frozen tasks

2013-09-25 Thread Rafael J. Wysocki
On Wednesday, September 25, 2013 02:52:26 PM Kyungmin Park wrote: > On Tue, Aug 20, 2013 at 9:41 PM, Rafael J. Wysocki wrote: > > On Tuesday, August 20, 2013 08:27:27 AM Tejun Heo wrote: > >> On Tue, Aug 20, 2013 at 02:34:14PM +0200, Rafael J. Wysocki wrote: > >> > On Tuesday, August 20, 2013 08:2

Re: [RFC PATCH] freezer: allow killing of frozen tasks

2013-09-24 Thread Kyungmin Park
On Tue, Aug 20, 2013 at 9:41 PM, Rafael J. Wysocki wrote: > On Tuesday, August 20, 2013 08:27:27 AM Tejun Heo wrote: >> On Tue, Aug 20, 2013 at 02:34:14PM +0200, Rafael J. Wysocki wrote: >> > On Tuesday, August 20, 2013 08:22:00 AM Tejun Heo wrote: >> > > On Tue, Aug 20, 2013 at 02:30:18PM +0200,

Re: [RFC PATCH] freezer: allow killing of frozen tasks

2013-08-20 Thread Rafael J. Wysocki
On Tuesday, August 20, 2013 08:27:27 AM Tejun Heo wrote: > On Tue, Aug 20, 2013 at 02:34:14PM +0200, Rafael J. Wysocki wrote: > > On Tuesday, August 20, 2013 08:22:00 AM Tejun Heo wrote: > > > On Tue, Aug 20, 2013 at 02:30:18PM +0200, Rafael J. Wysocki wrote: > > > > > So, I don't think we can simp

Re: [RFC PATCH] freezer: allow killing of frozen tasks

2013-08-20 Thread Tejun Heo
On Tue, Aug 20, 2013 at 02:34:14PM +0200, Rafael J. Wysocki wrote: > On Tuesday, August 20, 2013 08:22:00 AM Tejun Heo wrote: > > On Tue, Aug 20, 2013 at 02:30:18PM +0200, Rafael J. Wysocki wrote: > > > > So, I don't think we can simply turn TASK_UNITERRUPTIBLE to > > > > TASK_KILLABLE at this poin

Re: [RFC PATCH] freezer: allow killing of frozen tasks

2013-08-20 Thread Rafael J. Wysocki
On Tuesday, August 20, 2013 08:22:00 AM Tejun Heo wrote: > On Tue, Aug 20, 2013 at 02:30:18PM +0200, Rafael J. Wysocki wrote: > > > So, I don't think we can simply turn TASK_UNITERRUPTIBLE to > > > TASK_KILLABLE at this point. We really need to strictly define where > > > a task can freeze before

Re: [RFC PATCH] freezer: allow killing of frozen tasks

2013-08-20 Thread Tejun Heo
On Tue, Aug 20, 2013 at 02:30:18PM +0200, Rafael J. Wysocki wrote: > > So, I don't think we can simply turn TASK_UNITERRUPTIBLE to > > TASK_KILLABLE at this point. We really need to strictly define where > > a task can freeze before being able to do anything like this. > > But we could do that fo

Re: [RFC PATCH] freezer: allow killing of frozen tasks

2013-08-20 Thread Rafael J. Wysocki
On Tuesday, August 20, 2013 08:18:19 AM Tejun Heo wrote: > Hello, > > On Tue, Aug 20, 2013 at 02:23:32PM +0200, Rafael J. Wysocki wrote: > > On Tuesday, August 20, 2013 01:20:03 PM Bartlomiej Zolnierkiewicz wrote: > > > Change __refrigerator() to allow SIGKILL signal handling during > > > the froz

Re: [RFC PATCH] freezer: allow killing of frozen tasks

2013-08-20 Thread Tejun Heo
Hello, On Tue, Aug 20, 2013 at 02:23:32PM +0200, Rafael J. Wysocki wrote: > On Tuesday, August 20, 2013 01:20:03 PM Bartlomiej Zolnierkiewicz wrote: > > Change __refrigerator() to allow SIGKILL signal handling during > > the frozen state (by setting task to a TASK_KILLABLE state instead > > of TAS

Re: [RFC PATCH] freezer: allow killing of frozen tasks

2013-08-20 Thread Rafael J. Wysocki
On Tuesday, August 20, 2013 01:20:03 PM Bartlomiej Zolnierkiewicz wrote: > Change __refrigerator() to allow SIGKILL signal handling during > the frozen state (by setting task to a TASK_KILLABLE state instead > of TASK_UNINTERRUPTIBLE one before entering sleep) and make tasks > leave __refrigerator(