[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] dynamic allocation of huge continuous pages
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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>