Re: [PATCH 2/4] Task notifier: Implement todo list in task_struct

From: Christoph Lameter
Date: Mon Aug 08 2005 - 21:03:38 EST


On Tue, 9 Aug 2005, Nigel Cunningham wrote:

> Just to let you know that I have it working with Suspend2. One thing I
> am concerned about is that we still need a way of determining whether a
> process has been signalled but not yet frozen. At the moment you just
> check p->todo, but if/when other functionality begins to use the todo
> list, this will be unreliable.
>

No it wont. A process that has notifications to process should do that
before being put into the freezer. Only after the notification list is
empty will the process be notified and as long as the notification is
pending no second notification should happen.

> I'm happy to supply the patches I'm using if you want to compare. (I
> retained the other freezer improvements, so it wouldn't just be bug
> fixes against your patches).

I am not sure how to sort that out. I guess post the current patches that
you got and then we see how to continue from there.

-
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/