Re: [PATCH] dynamic allocation of huge continuous pages

From: Rusty Russell
Date: Thu Jan 08 2004 - 23:18:22 EST


In message <20040108.203734.122074391.taka@xxxxxxxxxxxxx> you write:
> + list_for_each(p, &area->free_list) {
> + page = list_entry(p, struct page, list);

Just FYI, "list_for_each_entry(page, &area->free_list, list)" is
shorter and neater.

Cheers,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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/