Re: [PATCH] for_each_zone / for_each_pgdat

From: Christoph Hellwig (hch@infradead.org)
Date: Mon Apr 15 2002 - 16:18:09 EST


On Mon, Apr 15, 2002 at 02:08:54PM -0700, Linus Torvalds wrote:
> Which requires the user to use something like
>
> for_each_zone(zone) {
> ...
> } end_zone;
>
> but doesn't need changing the double loop into a artificial single loop.

Bah, wli's version is so much nicer to use - in my eyes that justifies
the additional complexity in the macro.
-
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/



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:25 EST