Re: [2.6.16-rc6 patch] fix interactive task starvation

Mike Galbraith
2006-03-18T09:42:14Z

On Sat, 2006-03-18 at 19:15 +1100, Con Kolivas wrote:
> On Saturday 18 March 2006 19:05, Andrew Morton wrote:
> > Mike Galbraith <efault@gmx.de> wrote:
> > > The patch below fixes a starvation problem that occurs when a stream of
> > > highly interactive tasks delay an array switch for extended periods
> > > despite EXPIRED_STARVING(rq) being true. AFAIKT, the only choice is to
> > > enqueue awakening tasks on the expired array in this case.
> > >
> > > Without this patch, it can be nearly impossible to remotely login to a
> > > busy server, and interactive shell commands can starve for minutes.
> > >
> > > This has not been verified by anyone. Comments?
> >
> > What does that question mean, btw?
>
> He's waiting for me to say I don't like it. But I do like it.

<chuckle>

No. Actually, I'm waiting for Ingo to just yawn and nuke the problem
with a casual flick of his pinkie.

-Mike