Re: aa-200-active_page_swapout
Andrew Morton (akpm@zip.com.au)
Wed, 20 Mar 2002 11:24:10 -0800
Rik van Riel wrote:
>
> On Tue, 19 Mar 2002, Andrew Morton wrote:
>
> > Don't bother checking for active pages in the swapout path.
> >
> > Not sure about this one. Clearly the page isn't *likely* to be on the
> > active list, because the caller found it on the inactive list.
>
> Mmmm nope.
>
> The caller of swap_out (shrink_caches) may have been scanning the
> inactive list, but swap_out itself scans the page tables.
>
> This means it can encounter all kinds of pages, active, inactive
> and even reserved pages.
>
good point :)
So what does the patch do?
-
-
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/