Re: [PATCH] mm: Implement Swap Prefetching v23

Andrew Morton
2006-02-10T04:25:07Z

Con Kolivas <kernel@kolivas.org> wrote:
>
> Ok I see. We don't have a way to add to the tail of that list though?

del_page_from_lru() + (new) add_page_to_inactive_list_tail().

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

Do both of the above in a new function in swap.c.

It's likely to have quite some impact on the overall behaviour of the
feature - would need careful testing. It might end up screwing the whole
thing up.