Re: [PATCH] vm - swap prefetch v14

From: Con Kolivas
Date: Thu Oct 06 2005 - 08:40:02 EST


On Thu, 6 Oct 2005 04:01 am, Ingo Oeser wrote:
> Hi Con,
>
> your patch still contains a serious BUG :-)
>
> On Wednesday 05 October 2005 14:57, Con Kolivas wrote:
> > -The tunable to determine the amount of data retrieved per prefetch was
> > added /proc/sys/vm/swap_prefetch
> > is used to decide how many groups of 128kb to prefetch per 1 second
> > interval and is set to 2 by default. It can be disabled by setting it to
> > 0
>
> swap_prefetch is not documented at Documentation/sysctl/vm.txt
>
> This simple text would suffice I think. Maybe comment about disabling it
> for laptop usage.

Thanks for the suggestion. I'll add the Documentation entry and you reminded
me to do something specific with laptop mode which I have for v15 I'm about
to announce.

Cheers,
Con
-
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/