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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 2/4] Task notifier: Implement todo list in task_struct
- From: Nigel Cunningham <ncunningham@cyclades.com>
- Re: [PATCH 2/4] Task notifier: Implement todo list in task_struct
- References:
- Alternative to TIF_FREEZE -> a notifier in the task_struct?
- From: Christoph Lameter <christoph@lameter.com>
- Re: Alternative to TIF_FREEZE -> a notifier in the task_struct?
- From: Pavel Machek <pavel@suse.cz>
- Re: Alternative to TIF_FREEZE -> a notifier in the task_struct?
- From: Christoph Lameter <christoph@lameter.com>
- Re: Alternative to TIF_FREEZE -> a notifier in the task_struct?
- From: Pavel Machek <pavel@ucw.cz>
- [PATCH 1/4] Task notifier: Allow the removal of a notifier from the notifier handler
- From: Christoph Lameter <christoph@lameter.com>
- [PATCH 2/4] Task notifier: Implement todo list in task_struct
- From: Christoph Lameter <christoph@lameter.com>
- Re: [PATCH 2/4] Task notifier: Implement todo list in task_struct
- From: Pavel Machek <pavel@ucw.cz>
- Re: [PATCH 2/4] Task notifier: Implement todo list in task_struct
- From: Pavel Machek <pavel@ucw.cz>
- Re: [PATCH 2/4] Task notifier: Implement todo list in task_struct
- From: Christoph Lameter <christoph@lameter.com>
- Re: [PATCH 2/4] Task notifier: Implement todo list in task_struct
- From: Nigel Cunningham <ncunningham@cyclades.com>
- Alternative to TIF_FREEZE -> a notifier in the task_struct?
- Prev by Date: Re: understanding Linux capabilities brokenness
- Next by Date: Re: Unreliable Guide to Locking - Addition?
- Previous by thread: Re: [PATCH 2/4] Task notifier: Implement todo list in task_struct
- Next by thread: Re: [PATCH 2/4] Task notifier: Implement todo list in task_struct
- Index(es):
