Re: [PATCH 08/25] Calculate the preferred zone for allocation onlyonce

From: Christoph Lameter
Date: Fri Mar 20 2009 - 11:09:40 EST


On Fri, 20 Mar 2009, Mel Gorman wrote:

> get_page_from_freelist() can be called multiple times for an allocation.
> Part of this calculates the preferred_zone which is the first usable
> zone in the zonelist. This patch calculates preferred_zone once.

Isnt this adding an additional pass over the zonelist? Maybe mitigaged by
the first zone usually being the preferred zone.

--
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/