Re: [RFT][PATCH] mm: drop behind

From: Peter Zijlstra
Date: Fri Jul 13 2007 - 04:12:42 EST


On Thu, 2007-07-12 at 15:20 -0400, Chris Snook wrote:

> Then do what we do for FADV_SEQUENTIAL. With that advice, we double the
> readahead window. We're already doing readahead, but we do a lot more
> when we have the advice. NOREUSE should put much greater pressure on
> the vm to drop these pages quickly, or perhaps simply eliminate the
> heuristic evaluation of the access pattern and short-circuit straight to
> dropping the pages.
>
> We should be encouraging application writers to actually use things like
> fadvise when they can tune things more intelligently than kernel
> heuristics can.

I like this, I'll see what I can do.. :-)

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