Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263834AbUAIEPt (ORCPT ); Thu, 8 Jan 2004 23:15:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263898AbUAIEPt (ORCPT ); Thu, 8 Jan 2004 23:15:49 -0500 Received: from dp.samba.org ([66.70.73.150]:1759 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id S263834AbUAIEPt (ORCPT ); Thu, 8 Jan 2004 23:15:49 -0500 From: Rusty Russell To: Hirokazu Takahashi Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] dynamic allocation of huge continuous pages In-reply-to: Your message of "Thu, 08 Jan 2004 20:37:34 +0900." <20040108.203734.122074391.taka@valinux.co.jp> Date: Fri, 09 Jan 2004 14:56:18 +1100 Message-Id: <20040109041546.5F2B82C071@lists.samba.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 574 Lines: 16 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/