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

From: Christoph Lameter
Date: Thu Jul 28 2005 - 16:59:18 EST


On Thu, 28 Jul 2005, Pavel Machek wrote:

> 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 up software suspend).
> >
> > Ugh, this conflicts with stuff in -mm tree rather badly... In part
> > thanks to patch by you that was already applied.
> >
> > I fixed up rejects manually (but probably lost fix or two in
> > progress), and will test.

Dont fix it up. Remove the ealier patch.

> >
> > You are doing rather intrusive changes. Is testing them too much to
> > ask? I'm pretty sure you can get i386 machine to test swsusp on...
>
> (And yes, I did apply the whole series. It would be nice if next
> series was relative to -mm, it already contains some of your changes).

mm contains the TIF_FREEZE changes that need to be undone. And yes I
tested it on a i386 with suspend to disk and it worked fine.

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