Re: [RFC 1/2] cma: remove __reclaim_pages

From: Rik van Riel
Date: Wed Aug 15 2012 - 14:51:54 EST


On 08/14/2012 04:57 AM, Minchan Kim wrote:
Now cma reclaims too many pages by __reclaim_pages which says
following as

* Reclaim enough pages to make sure that contiguous allocation
* will not starve the system.

Starve? What does it starve the system? The function which allocate
free page for migration target would wake up kswapd and do direct reclaim
if needed during migration so system doesn't starve.

Let remove __reclaim_pages and related function and fields.

Fair enough.

Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx>

Acked-by: Rik van Riel <riel@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/