From: Christoph Lameter Date: Tue, 26 Sep 2006 06:31:55 +0000 (-0700) Subject: [PATCH] Hugepages: Use page_to_nid rather than traversing zone pointers X-Git-Tag: v2.6.19-rc1~1159 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4415cc8df630b05d3a54267d5f3e5c0b63a4ec05;p=pandora-kernel.git [PATCH] Hugepages: Use page_to_nid rather than traversing zone pointers I found two location in hugetlb.c where we chase pointer instead of using page_to_nid(). Page_to_nid is more effective and can get the node directly from page flags. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed