Re: [PATCH] mm: Implement Swap Prefetching v23

Con Kolivas
2006-02-10T04:14:39Z

On Friday 10 February 2006 15:07, Nick Piggin wrote:
> Con Kolivas wrote:
> > On Friday 10 February 2006 14:25, Andrew Morton wrote:
> >>But where does it put the pages? If it was really "free", they'd go onto
> >>the tail of the inactive list.
> >
> > It puts them in swapcache. This seems to work nicely as a nowhere-land
> > place where they don't have much affect on anything until we need them or
> > need more ram. This has worked well, but I'm open to other suggestions.
>
> Well they go on the head of the inactive list and will kick out file
> backed pagecache. Which was my concern about reducing the usefulness
> of useful swapping on desktop systems.

Ok I see. We don't have a way to add to the tail of that list though? Is that
a worthwhile addition to this (ever growing) project? That would definitely
have an impact on the other code if not all done within swap_prefetch.c..
which would also be quite a large open coded something.

Cheers,
Con