Re: [PATCH] 3/5 VM changes: dont-rotate-active-list.patch

Nikita Danilov (Nikita@Namesys.COM)
Wed, 9 Jul 2003 14:44:53 +0400


Andrew Morton writes:
> Nikita Danilov <Nikita@Namesys.COM> wrote:
> >
> > This patch modifies refill_inactive_zone() so that it scans active_list
> > without rotating it.
>
> I'm unconvinced. The scanning of the active list allows us to keep the
> referenced state uptodate and balanced across all pages.
>

With this patch active list is still scanned. The only difference is
that in !reclaim_mapped mode, mapped but unreferenced pages are left
behind scanning point instead of being thrown to the head of active list
(which supposed to be LRU, after all).

Nikita.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/