On Mon, Aug 23, 2010 at 11:41:49AM -0500, Christoph Lameter wrote:
quoted text > On Tue, 24 Aug 2010, Minchan Kim wrote
>
> > This patch introude new argument 'cleanup' to migrate_pages.
> > Only if we set 1 to 'cleanup', migrate_page will clean up the lists.
> > Otherwise, caller need to clean up the lists so it has a chance to postprocess
> > the pages.
>
> Could we simply make migrate_pages simply not do any cleanup?
> Caller has to call putback_lru_pages()?
>
Hmm. maybe I misunderstood your point.
Your point is that let's make whole caller of migrate_pagse has a responsibility
of clean up the list?
--
Kind regards,
Minchan Kim
--
unsubscribe notice 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/
Messages in current thread:
Re: [PATCH] compaction: fix COMPACTPAGEFAILED counting , Minchan Kim , (Mon Aug 23, 10:06 am)