Re: [PATCH] mm: Implement Swap Prefetching v23

From: Con Kolivas
Date: Thu Feb 09 2006 - 23:13:17 EST


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