Re: 2.6.8-rc2-mm1

From: Ingo Molnar
Date: Sun Aug 01 2004 - 06:12:12 EST



On Sat, 31 Jul 2004, Andrew Morton wrote:

> > Ingo i believe you have a patch for this, could you push it to Andrew?
>
> I suspect Ingo's patch will be livelockable under some circumstances.

the first versions were - i could even reproduce it. Fixed it up by doing
less work in this function. But i like your solution of rotating the list
too. Anyway, the -M5 patch shouldnt be livelockable. (but it might have
the crash problem).

btw., breaking the outer loop here is not enough for latencies, it needs
to happen in the inner loop. (which can take thousands of iterations too.)
See the checkpoint.c bits of the -M5 patch:

http://people.redhat.com/mingo/voluntary-preempt/voluntary-preempt-2.6.8-rc2-mm1-M5

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/