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

From: Ingo Molnar
Date: Sat Mar 18 2006 - 03:53:16 EST



* Andrew Morton <akpm@xxxxxxxx> 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
-
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/