Re: CFS and suspend2: hang in atomic copy

From: Ingo Molnar
Date: Wed Apr 18 2007 - 17:17:00 EST



* Christian Hesse <mail@xxxxxxxxxxxx> wrote:

> > i took a quick look at suspend2 and it makes some use of yield().
> > There's a bug in CFS's yield code, i've attached a patch that should
> > fix it, does it make any difference to the hang?
>
> This patch should apply cleanly against what? The second hunk is
> ignored as it has already been applied. Is this correct?

hm, i think you might have had one of the earlier CFS patches.

> But no, it does not change anything. Let me know if you have any other
> patches to test.

could you try the -v3 patch i released a few hours ago:

http://redhat.com/~mingo/cfs-scheduler/

although probably your suspend2 problem is still not fixed, it's worth a
try nevertheless. Which suspend2 patch did you apply, and was it against
-rc6 or -rc7?

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