Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [PATCH] dynamic allocation of huge continuous pages | Date | Fri, 09 Jan 2004 14:56:18 +1100 |
| |
In message <20040108.203734.122074391.taka@valinux.co.jp> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |