On Friday 10 February 2006 14:25, Andrew Morton wrote:
Con Kolivas <kernel@xxxxxxxxxxx> wrote:
Here's a respin with Nick's suggestions and a modification to not cost us
extra slab on non-numa.
v23? I'm sure we can do better than that.
:D
This patch implements swap prefetching when the vm is relatively idle and
there is free ram available.
I think "free ram available" is the critical thing here. If it doesn't
evict anyhing else then OK, it basically uses unutilised disk bandwidth for
free.
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.