Re: 2.6.8-rc2-mm1

Ingo Molnar
2004-08-01T11:06:15Z

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