Re: [PATCH -mm] mm: more likely reclaim MADV_SEQUENTIAL mappings

From: Rik van Riel
Date: Mon Jul 21 2008 - 11:14:52 EST

On Mon, 21 Jul 2008 15:49:00 +1000
Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:

> It is already bad because: if you are doing a big streaming copy
> which you know is going to blow the cache and not be used again,
> then you should be unmapping behind you as you go.

MADV_SEQUENTIAL exists for a reason.

If you think that doing an automatic unmap-behind will be
a better way to go, we can certainly whip up a patch for

All rights reversed.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at