Re: [PATCH 4/4] zone_reclaim_mode is always 0 by default

From: Wu Fengguang
Date: Mon May 18 2009 - 05:10:41 EST


On Wed, May 13, 2009 at 12:08:12PM +0900, KOSAKI Motohiro wrote:
> Index: b/mm/page_alloc.c
> ===================================================================
> --- a/mm/page_alloc.c
> +++ b/mm/page_alloc.c
> @@ -2494,13 +2494,6 @@ static void build_zonelists(pg_data_t *p
> int distance = node_distance(local_node, node);
>
> /*
> - * If another node is sufficiently far away then it is better
> - * to reclaim pages in a zone before going off node.
> - */
> - if (distance > RECLAIM_DISTANCE)
> - zone_reclaim_mode = 1;
> -

Also remove the RECLAIM_DISTANCE definitions in
include/linux/topology.h and arch/ia64/include/asm/topology.h?
--
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/