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

From: Tejun Heo
Date: Tue Aug 20 2013 - 08:22:10 EST


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 for user space tasks I suppose?

Even for userland tasks, we don't know where the task is stuck at. I
think there are enough freeze points in the kernel which are in the
middle of something which can be used by userland tasks excuting some
syscall. We need to collect all those sites into well defined trap
points before doing this.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/