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

Ingo Molnar
2006-03-18T08:55:11Z

* Andrew Morton <akpm@osdl.org> wrote:

> I ended up with the below.
>
> Which do we think is more likely to be true - batch_task(p) or
> expired_starving(rq)? batch_task() looks cheaper to evaluate so I put
> that first. But I guess it's less likely to be true. hmm.

it doesnt really matter - scheduler_tick() is a slowpath. Putting
batch_task() first is ok.

Ingo