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

2005-08-08 Thread Pavel Machek
Hi! > > > Got a new suspend patchsset at > > > > > > ftp://ftp.kernel.org:/pub/linux/kernel/people/christoph/suspend/2.6.13-rc4-mm1 > > > > > > Check the series file for the sequence of patches. > > > > Something still goes very wrong after first resume. It seems to work > > ok for few seconds

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

2005-08-08 Thread Christoph Lameter
On Mon, 8 Aug 2005, Pavel Machek wrote: > Hi! > > > Got a new suspend patchsset at > > > > ftp://ftp.kernel.org:/pub/linux/kernel/people/christoph/suspend/2.6.13-rc4-mm1 > > > > Check the series file for the sequence of patches. > > Something still goes very wrong after first resume. It seems

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

2005-08-08 Thread Pavel Machek
Hi! > Got a new suspend patchsset at > > ftp://ftp.kernel.org:/pub/linux/kernel/people/christoph/suspend/2.6.13-rc4-mm1 > > Check the series file for the sequence of patches. Something still goes very wrong after first resume. It seems to work ok for few seconds, then console switch takes 10 s

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

2005-08-01 Thread Christoph Lameter
Got a new suspend patchsset at ftp://ftp.kernel.org:/pub/linux/kernel/people/christoph/suspend/2.6.13-rc4-mm1 Check the series file for the sequence of patches. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordom

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

2005-07-30 Thread Pavel Machek
Hi! > > > Yes I told you to remove the TIF_FREEZE patch. > > > > Okay, I took 2.6.13-rc3-mm3, removed TIF_FREEZE patch, and applied > > your series. (This time it applied cleanly). After first suspend > > machine locked hard at time it should switch back to original > > console. On the next try,

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

2005-07-30 Thread Christoph Lameter
On Sat, 30 Jul 2005, Pavel Machek wrote: > > Yes I told you to remove the TIF_FREEZE patch. > > Okay, I took 2.6.13-rc3-mm3, removed TIF_FREEZE patch, and applied > your series. (This time it applied cleanly). After first suspend > machine locked hard at time it should switch back to original > c

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

2005-07-30 Thread Pavel Machek
Hi! > > /* > > * Check if there is a request to freeze a process > > */ > > static inline int freezing(struct task_struct *p) > > { > > return test_ti_thread_flag(p->thread_info, TIF_FREEZE); > > } > > Yes I told you to remove the TIF_FREEZE patch. Okay, I took 2.6.13-rc3-mm3, removed

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

2005-07-30 Thread Christoph Lameter
On Sat, 30 Jul 2005, Pavel Machek wrote: > No wonder when -mm already contains: > > /* > * Check if there is a request to freeze a process > */ > static inline int freezing(struct task_struct *p) > { > return test_ti_thread_flag(p->thread_info, TIF_FREEZE); > } Yes I told you to remove

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

2005-07-30 Thread Pavel Machek
Hi! > > Introduce a todo notifier in the task_struct so that a task can be told to > > do > > certain things. Abuse the suspend hooks try_to_freeze, freezing and > > refrigerator > > to establish checkpoints where the todo list is processed. This will break > > software > > suspend (next patch

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

2005-07-30 Thread Pavel Machek
Hi! > Introduce a todo notifier in the task_struct so that a task can be told to do > certain things. Abuse the suspend hooks try_to_freeze, freezing and > refrigerator > to establish checkpoints where the todo list is processed. This will break > software > suspend (next patch fixes and cleans