Re: [PATCH] mm: yield during swap prefetching

From: Lee Revell
Date: Tue Mar 07 2006 - 21:06:01 EST


On Wed, 2006-03-08 at 12:28 +1100, Con Kolivas wrote:
> I can't distinguish between when cpu activity is important (game) and when it
> is not (compile), and assuming worst case scenario and not doing any swap
> prefetching is my intent. I could add cpu accounting to prefetch_suitable()
> instead, but that gets rather messy and yielding achieves the same endpoint.

Shouldn't the game be running with RT priority or at least at a low nice
value?

Lee

-
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/