lkml.org 
[lkml]   [2008]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm: MADV_WILLNEED implementation for anonymous memory
On Thu, 31 Jan 2008 12:06:10 +0100
Andi Kleen <andi@firstfloor.org> wrote:

> > Yeah, the 2.5 switch to physical scanning killed us there.
> >
> > I still don't know why my
> > allocate-swapspace-according-to-virtual-address change didn't
> > help. Much. Marcelo played with that a bit too.
>
> I've been thinking about just always doing swap on > page clusters.
> Any reason swapping couldn't be done on e.g. 1MB chunks?

Don't malloc() and free() hopelessly fragment memory
over time, ensuring that little related data can be
found inside each 1MB chunk if the process is large
enough? (say, firefox)


\
 
 \ /
  Last update: 2008-01-31 11:55    [from the cache]
©2003-2011 Jasper Spaans