lkml.org 
[lkml]   [2008]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mm] mm: more likely reclaim MADV_SEQUENTIAL mappings
On Mon, 21 Jul 2008 15:49:00 +1000
Nick Piggin <nickpiggin@yahoo.com.au> 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
that...

--
All rights reversed.


\
 
 \ /
  Last update: 2008-07-21 17:17    [from the cache]
©2003-2011 Jasper Spaans