Re: [ck] Re: [PATCH] mm: yield during swap prefetching

From: Ingo Molnar
Date: Fri Mar 17 2006 - 04:06:36 EST



* Con Kolivas <kernel@xxxxxxxxxxx> wrote:

> > We do have SCHED_BATCH but even that doesn't really have the desired
> > effect. I know how much yield sucks and I actually want it to suck as much
> > as yield does.
>
> Thinking some more on this I wonder if SCHED_BATCH isn't a strong
> enough scheduling hint if it's not suitable for such an application.
> Ingo do you think we could make SCHED_BATCH tasks always wake up on
> the expired array?

yep, i think that's a good idea. In the worst case the starvation
timeout should kick in.

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/